summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mpeg4ip/Makefile10
-rw-r--r--multimedia/mpeg4ip/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index 9cdcb5445ca..e46972a087a 100644
--- a/multimedia/mpeg4ip/Makefile
+++ b/multimedia/mpeg4ip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/07/07 15:49:33 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2006/10/03 12:55:32 tron Exp $
DISTNAME= mpeg4ip-1.5
PKGREVISION= 2
@@ -18,6 +18,14 @@ GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= bootstrap
OVERRIDE_DIRDEPTH= 3 # */*/*/libtool
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= MPEG4IPSDL="@comment "
+.else
+PLIST_SUBST+= MPEG4IPSDL=
+.endif
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mpeg4ip/PLIST b/multimedia/mpeg4ip/PLIST
index 2e7165fce6c..893e4b1be40 100644
--- a/multimedia/mpeg4ip/PLIST
+++ b/multimedia/mpeg4ip/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2006/05/30 20:20:53 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/10/03 12:55:32 tron Exp $
bin/avi2raw
bin/avidump
bin/h264_parse
@@ -54,7 +54,7 @@ lib/libmp4.la
lib/libmp4av.la
lib/libmp4util.la
lib/libmp4v2.la
-lib/libmpeg4ipSDL.la
+${MPEG4IPSDL}lib/libmpeg4ipSDL.la
lib/libmpeg4ip_celp.la
lib/libmpeg4ip_celpbs.la
lib/libmpeg4ip_faad.la