summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron>2008-12-20 11:57:29 +0000
committertron <tron>2008-12-20 11:57:29 +0000
commit7ed0273f93d3fbd34cc1f5202cb665c8c0a98bff (patch)
tree8de5fb1fdbae1c529455c243fc4573a5eb7fe906 /multimedia
parentf3cf6ce23b6c57517b202576a1460a074575d5ac (diff)
downloadpkgsrc-7ed0273f93d3fbd34cc1f5202cb665c8c0a98bff.tar.gz
Disable assembler support on x86_64 systems because it breaks the build
of a shared version of the library.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 469ae09381b..9875ab7d9af 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/12/18 16:19:07 bjs Exp $
+# $NetBSD: Makefile,v 1.15 2008/12/20 11:57:29 tron Exp $
SNAPSHOT_DATE= 20081217
@@ -20,9 +20,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
CFLAGS+= -DHAVE_STDLIB_H
.endif
-
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
+.elif ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+= --disable-asm
.endif
USE_TOOLS+= gmake