summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz>2007-06-18 04:16:47 +0000
committerschmonz <schmonz>2007-06-18 04:16:47 +0000
commit07215a62b2a6ff95a7b075c8a98b3a8857939e82 (patch)
tree1126f8abb0f172ae171bd610f603ca65e7fd8e3d
parent54ce222bc1b25c08ee60153793f1ae8c21c63fce (diff)
downloadpkgsrc-07215a62b2a6ff95a7b075c8a98b3a8857939e82.tar.gz
Don't --enable-mmx on Darwin/i386, as it doesn't build.
-rw-r--r--multimedia/smpeg/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index e2d499aa8a5..b4229bfed62 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/05/19 22:02:59 heinz Exp $
+# $NetBSD: Makefile,v 1.20 2007/06/18 04:16:47 schmonz Exp $
#
DISTNAME= smpeg-0.4.4
@@ -30,7 +30,9 @@ post-wrapper:
> ${BUILDLINK_DIR}/include/malloc.h; \
fi
-.if ${MACHINE_ARCH} == "i386"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
CONFIGURE_ARGS+= --enable-mmx
.endif