summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2018-06-15 11:49:17 +0000
committertsutsui <tsutsui@pkgsrc.org>2018-06-15 11:49:17 +0000
commit007128872e0fc089c68608eeb4cb56643b0f54de (patch)
tree59e602d29b469a81496ac0e945efcaa245d74f06 /multimedia
parent9df53b5c9aafe5f90c1ebed66c7ebc45454f2f17 (diff)
downloadpkgsrc-007128872e0fc089c68608eeb4cb56643b0f54de.tar.gz
smpeg: disable mmx asm to avoid text relocations on NetBSD/i386 8.0.
Bump PKGREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smpeg/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index 9b89228a1eb..aa9af14ee8f 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2016/02/25 15:49:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.32 2018/06/15 11:49:17 tsutsui Exp $
#
DISTNAME= smpeg-0.4.4
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= devel multimedia
MASTER_SITES= #
@@ -29,8 +29,11 @@ post-wrapper:
.include "../../mk/bsd.prefs.mk"
-.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
+.if ${MACHINE_ARCH} == "i386"
+. if ${OPSYS} != "Darwin" && \
+ empty(MACHINE_PLATFORM:MNetBSD-[89].*-i386)
CONFIGURE_ARGS+= --enable-mmx
+. endif
.endif
MAKE_ENV.SunOS+= SunOS_LDFLAGS="-shared -mimpure-text"