summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd>2003-08-24 12:17:35 +0000
committermarkd <markd>2003-08-24 12:17:35 +0000
commit65501c4acad637aa1717e52f4a821e18c4025edb (patch)
tree472a9cf32961aa4736a3a1c20604ae6a4c6cedea
parent4e0a25d63c34905f520733f49259f6355a579cfb (diff)
downloadpkgsrc-65501c4acad637aa1717e52f4a821e18c4025edb.tar.gz
Comment out some entries of the PLIST if no shared libXv exists (ie XFree<4.3)
Should fix Hubert's bulk build.
-rw-r--r--audio/kdemultimedia3/Makefile8
-rw-r--r--audio/kdemultimedia3/PLIST32
2 files changed, 23 insertions, 17 deletions
diff --git a/audio/kdemultimedia3/Makefile b/audio/kdemultimedia3/Makefile
index 823251075e8..014b221fc8e 100644
--- a/audio/kdemultimedia3/Makefile
+++ b/audio/kdemultimedia3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2003/08/05 13:35:26 drochner Exp $
+# $NetBSD: Makefile,v 1.26 2003/08/24 12:17:35 markd Exp $
DISTNAME= kdemultimedia-3.1.3
PKGREVISION= 1
@@ -34,6 +34,12 @@ FOO_MAIN_FILES= \
kmix/kmixctrl_main.cpp \
noatun/noatun_main.cpp
+.if !exists(${X11BASE}/lib/libXv.so)
+PLIST_SUBST+= XV_WORKAROUND="@comment "
+.else
+PLIST_SUBST+= XV_WORKAROUND=""
+.endif
+
.include "../../meta-pkgs/kde3/Makefile.foo_main"
.include "../../audio/arts/buildlink2.mk"
diff --git a/audio/kdemultimedia3/PLIST b/audio/kdemultimedia3/PLIST
index f2988f8da51..028e02e43bb 100644
--- a/audio/kdemultimedia3/PLIST
+++ b/audio/kdemultimedia3/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2003/07/30 14:55:59 markd Exp $
+@comment $NetBSD: PLIST,v 1.8 2003/08/24 12:17:35 markd Exp $
bin/aktion
bin/artsbuilder
bin/artscontrol
@@ -203,15 +203,15 @@ lib/libaktion.la
lib/libaktion.so
lib/libaktion.so.1
lib/libaktion.so.1.0
-lib/libarts_mpeglib-0.3.0.so
-lib/libarts_mpeglib-0.3.0.so.0
-lib/libarts_mpeglib-0.3.0.so.0.3
+${XV_WORKAROUND}lib/libarts_mpeglib-0.3.0.so
+${XV_WORKAROUND}lib/libarts_mpeglib-0.3.0.so.0
+${XV_WORKAROUND}lib/libarts_mpeglib-0.3.0.so.0.3
lib/libarts_mpeglib.la
-lib/libarts_mpeglib.so
+${XV_WORKAROUND}lib/libarts_mpeglib.so
lib/libarts_splay.la
-lib/libarts_splay.so
-lib/libarts_splay.so.0
-lib/libarts_splay.so.0.0
+${XV_WORKAROUND}lib/libarts_splay.so
+${XV_WORKAROUND}lib/libarts_splay.so.0
+${XV_WORKAROUND}lib/libarts_splay.so.0.0
lib/libarts_xine.la
lib/libarts_xine.so
lib/libartsbuilder.la
@@ -258,9 +258,9 @@ lib/libkmixctrl_main.la
lib/libkmixctrl_main.so
lib/libkmixctrl_main.so.0
lib/libkmixctrl_main.so.0.0
-lib/libmpeg-0.3.0.so
+${XV_WORKAROUND}lib/libmpeg-0.3.0.so
lib/libmpeg.la
-lib/libmpeg.so
+${XV_WORKAROUND}lib/libmpeg.so
lib/libnoatun_core.la
lib/libnoatun_core.so
lib/libnoatun_core.so.0
@@ -286,13 +286,13 @@ lib/libworkman.so
lib/libworkman.so.5
lib/libworkman.so.5.3
lib/libyafcore.la
-lib/libyafcore.so
-lib/libyafcore.so.0
-lib/libyafcore.so.0.0
+${XV_WORKAROUND}lib/libyafcore.so
+${XV_WORKAROUND}lib/libyafcore.so.0
+${XV_WORKAROUND}lib/libyafcore.so.0.0
lib/libyafxplayer.la
-lib/libyafxplayer.so
-lib/libyafxplayer.so.0
-lib/libyafxplayer.so.0.0
+${XV_WORKAROUND}lib/libyafxplayer.so
+${XV_WORKAROUND}lib/libyafxplayer.so.0
+${XV_WORKAROUND}lib/libyafxplayer.so.0.0
lib/mcop/Arts/ArtsBuilderLoader.mcopclass
lib/mcop/Arts/Button.mcopclass
lib/mcop/Arts/Effect_WAVECAPTURE.mcopclass