summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-01-17 23:13:46 +0000
committertron <tron@pkgsrc.org>2011-01-17 23:13:46 +0000
commit46cc6374bd3f55d0fdc68d02c3a0d963dd50550d (patch)
tree15f392aa4d95ea08fb04d97dc3c3583249d9135d /multimedia/x264-devel
parent03622738c97d348c8a2056425846073309693b4d (diff)
downloadpkgsrc-46cc6374bd3f55d0fdc68d02c3a0d963dd50550d.tar.gz
Add a comment why we need to disable assembler support on so many platforms.
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r--multimedia/x264-devel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 2f05338b5a8..bcac4ade2da 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2011/01/17 22:06:37 tron Exp $
+# $NetBSD: Makefile,v 1.29 2011/01/17 23:13:46 tron Exp $
SNAPSHOT_DATE= 20110101
@@ -20,6 +20,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
CFLAGS+= -DHAVE_STDLIB_H
.endif
+# The assembler implementations don't use position independent code
+# and therefore break the builds on a lot of platforms because we use
+# "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" && \
(!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \