summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortnn <tnn>2011-01-19 20:40:06 +0000
committertnn <tnn>2011-01-19 20:40:06 +0000
commitd2b958e8ea35724060af80de4d703cd7ec06160e (patch)
tree31679ea146667c10786de27355a2b5ded244bad3 /multimedia
parent2406d6f6de94b84cb535e30119847b7af385145f (diff)
downloadpkgsrc-d2b958e8ea35724060af80de4d703cd7ec06160e.tar.gz
revert my change, drochner@ fixed the problem.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 3fd1fb34f03..da9f984c644 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.31 2011/01/19 02:04:02 dsainty Exp $
+# $NetBSD: Makefile,v 1.32 2011/01/19 20:40:06 tnn Exp $
SNAPSHOT_DATE= 20110101
DISTNAME= x264-snapshot-${SNAPSHOT_DATE}-2245
PKGNAME= x264-devel-${SNAPSHOT_DATE}
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
EXTRACT_SUFX= .tar.bz2
@@ -25,13 +26,17 @@ CFLAGS+= -DHAVE_STDLIB_H
# "libtool" to create shared libraries. We therefore need to switch
# them off even if the C versions are slower.
.if ${MACHINE_ARCH} == "i386"
-. if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
+. if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && \
+ (!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \
+ ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-asm
. else
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
. endif
.elif ${MACHINE_ARCH} == "x86_64"
-. if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
+. if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && \
+ (!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \
+ ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-asm
. else
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm