diff options
author | tron <tron@pkgsrc.org> | 2011-01-17 22:06:37 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-01-17 22:06:37 +0000 |
commit | a813bed1bb7f680b7e4dc331cdf67c44a23f27e8 (patch) | |
tree | 347854063c0eb5ddcb7ed7eea19d0f4edce031d8 /multimedia/x264-devel | |
parent | 9542c6614a9d31fd3f296f4e5b275c873e9692da (diff) | |
download | pkgsrc-a813bed1bb7f680b7e4dc331cdf67c44a23f27e8.tar.gz |
Disable assembler support under NetBSD 5.1 and older as it required
binutils 2.17 or newer which is only available under NetBSD-current.
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r-- | multimedia/x264-devel/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile index 485149f2c89..2f05338b5a8 100644 --- a/multimedia/x264-devel/Makefile +++ b/multimedia/x264-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2011/01/17 21:51:09 tron Exp $ +# $NetBSD: Makefile,v 1.28 2011/01/17 22:06:37 tron Exp $ SNAPSHOT_DATE= 20110101 @@ -29,7 +29,13 @@ CONFIGURE_ARGS+= --disable-asm BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm . endif .elif ${MACHINE_ARCH} == "x86_64" +. 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} == "arm" && ${OPSYS} == "NetBSD" # pre-ARMv6 is default on NetBSD/arm CONFIGURE_ARGS+= --disable-asm |