ports/opt (2.4): libxvid: Fix nasm compatibility so that libxvid is built with proper assembly code optimisations.
commit 4bae2831a1359c886d47d085dfc0931eada4452b Author: Brett Goulder <predatorfreak@dcaf-security.org> Date: Mon Mar 24 13:58:15 2008 -0400 libxvid: Fix nasm compatibility so that libxvid is built with proper assembly code optimisations. diff --git a/libxvid/.md5sum b/libxvid/.md5sum index 82597b8..f9bfb8b 100644 --- a/libxvid/.md5sum +++ b/libxvid/.md5sum @@ -1 +1,2 @@ +c3a80380d73c6f5b1998c05189ccd285 libxvid-1.1.3-nasm-compat.patch 29c60d4d991ac18f687a8fd13cfe64b7 xvidcore-1.1.3.tar.bz2 diff --git a/libxvid/Pkgfile b/libxvid/Pkgfile index 8c664d4..e48f265 100644 --- a/libxvid/Pkgfile +++ b/libxvid/Pkgfile @@ -5,12 +5,16 @@ name=libxvid version=1.1.3 -release=1 -source=(http://downloads.xvid.org/downloads/xvidcore-$version.tar.bz2) +release=2 +source=(http://downloads.xvid.org/downloads/xvidcore-$version.tar.bz2 +$name-$version-nasm-compat.patch) build() { mkdir -p $PKG/usr/{include,lib} - cd xvidcore-$version/build/generic/ + cd xvidcore-$version/ + patch -p0 -i $SRC/$name-$version-nasm-compat.patch + cd build/generic/ + autoconf ./configure --prefix=/usr make make includedir=$PKG/usr/include libdir=$PKG/usr/lib install
participants (1)
-
crux@crux.nu