diff options
author | tnn <tnn@pkgsrc.org> | 2011-01-19 20:40:06 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2011-01-19 20:40:06 +0000 |
commit | f3f9ce35816458e40bb5b0872517d0812007a92d (patch) | |
tree | 31679ea146667c10786de27355a2b5ded244bad3 /multimedia | |
parent | 0608b19e55c01992d47aa917578cdec18ba6bc69 (diff) | |
download | pkgsrc-f3f9ce35816458e40bb5b0872517d0812007a92d.tar.gz |
revert my change, drochner@ fixed the problem.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/x264-devel/Makefile | 11 |
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 |