summaryrefslogtreecommitdiff
path: root/multimedia/xvidcore/xvidcore.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xvidcore/xvidcore.SlackBuild')
-rw-r--r--multimedia/xvidcore/xvidcore.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/xvidcore/xvidcore.SlackBuild b/multimedia/xvidcore/xvidcore.SlackBuild
index d327712890..16b767e277 100644
--- a/multimedia/xvidcore/xvidcore.SlackBuild
+++ b/multimedia/xvidcore/xvidcore.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xvidcore
VERSION=${VERSION:-1.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,6 +71,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix detecting yasm - taken from the gentoo ebuild for xvid
+sed -i -e '/^minimum_yasm_minor_version/s:=.*:=0:' build/generic/configure
+
cd build/generic
CFLAGS="$SLKCFLAGS" \
./configure \