diff options
author | seb <seb> | 2003-09-22 10:45:20 +0000 |
---|---|---|
committer | seb <seb> | 2003-09-22 10:45:20 +0000 |
commit | 6cea33334c1bf783be6244f310c990d34b7a300e (patch) | |
tree | 1c25ef4d6f2d51b3f43a5e3c63914ee52fd64081 /graphics/transcode | |
parent | 0ef9117a42d88ce60492dcbbecde122f17c438cc (diff) | |
download | pkgsrc-6cea33334c1bf783be6244f310c990d34b7a300e.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/transcode')
-rw-r--r-- | graphics/transcode/Makefile | 10 | ||||
-rw-r--r-- | graphics/transcode/PLIST | 4 |
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 |