pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/transcode The availability of a shared libXv ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3295df5c1c5
branches: trunk
changeset: 461827:a3295df5c1c5
user: seb <seb%pkgsrc.org@localhost>
date: Mon Sep 22 10:45:20 2003 +0000
description:
The availability of a shared libXv makes libtool creating a shared
filter_pv module. So check for it and adjust PLIST.
diffstat:
graphics/transcode/Makefile | 10 +++++++++-
graphics/transcode/PLIST | 4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r cdd4385355b7 -r a3295df5c1c5 graphics/transcode/Makefile
--- a/graphics/transcode/Makefile Mon Sep 22 09:57:58 2003 +0000
+++ b/graphics/transcode/Makefile Mon Sep 22 10:45:20 2003 +0000
@@ -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_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 -r cdd4385355b7 -r a3295df5c1c5 graphics/transcode/PLIST
--- a/graphics/transcode/PLIST Mon Sep 22 09:57:58 2003 +0000
+++ b/graphics/transcode/PLIST Mon Sep 22 10:45:20 2003 +0000
@@ -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.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
Home |
Main Index |
Thread Index |
Old Index