summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorseb <seb>2003-09-22 10:45:20 +0000
committerseb <seb>2003-09-22 10:45:20 +0000
commit0e3a88dbabcb14c2ddad6186f53c9ab4a12cf7bc (patch)
tree1c25ef4d6f2d51b3f43a5e3c63914ee52fd64081 /graphics
parent88e0869571e318c07599ebbb5eb471e7eb922b9d (diff)
downloadpkgsrc-0e3a88dbabcb14c2ddad6186f53c9ab4a12cf7bc.tar.gz
The availability of a shared libXv makes libtool creating a shared
filter_pv module. So check for it and adjust PLIST.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/transcode/Makefile10
-rw-r--r--graphics/transcode/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/transcode/Makefile b/graphics/transcode/Makefile
index 21a0cb65392..d57a587015d 100644
--- a/graphics/transcode/Makefile
+++ b/graphics/transcode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2003/09/17 16:40:43 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2003/09/22 10:45:20 seb Exp $
DISTNAME= transcode-0.6.9
PKGREVISION= 1
@@ -17,11 +17,19 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-qt
# when libmpeg3 is a shlib.
CONFIGURE_ARGS+= --without-libmpeg3
+.if exists(${X11BASE}/lib/libXv.so)
+PLIST_SUBST+= FILTERPV=filter_pv.so
+.else
+PLIST_SUBST+= FILTERPV=filter_pv.a
+.endif
+
# this used to operate on acinclude.m4 and run aclocal, but running
# aclocal here breaks due to missing DLFCN checking
post-patch:
diff --git a/graphics/transcode/PLIST b/graphics/transcode/PLIST
index efb6e958f42..01c79b67243 100644
--- a/graphics/transcode/PLIST
+++ b/graphics/transcode/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2003/09/19 12:27:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2003/09/22 10:45:20 seb Exp $
bin/avifix
bin/aviindex
bin/avimerge
@@ -142,7 +142,7 @@ lib/transcode/filter_normalize.la
lib/transcode/filter_normalize.so
lib/transcode/filter_null.la
lib/transcode/filter_null.so
-lib/transcode/filter_pv.a
+lib/transcode/${FILTERPV}
lib/transcode/filter_pv.la
lib/transcode/filter_resample.la
lib/transcode/filter_resample.so