diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-09-20 03:54:43 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-09-20 03:54:43 +0800 |
commit | 3ee440e49611f2752f82f80449bb13abd0ba670e (patch) | |
tree | dda15aaa0dc3075fa5dfbac612a5d278eebc5f88 /multimedia | |
parent | 09521c7daad81f1b07dd912f30330f995a322e14 (diff) | |
download | freebsd-ports-gnome-3ee440e49611f2752f82f80449bb13abd0ba670e.tar.gz freebsd-ports-gnome-3ee440e49611f2752f82f80449bb13abd0ba670e.tar.zst freebsd-ports-gnome-3ee440e49611f2752f82f80449bb13abd0ba670e.zip |
Chase multimedia/libdvdcss shlib bump by patching the hardcoded reference to it
Also removethe dependency on multimedia/libdvdread since this port contains its
own embeded version.
Bump PRORTREVISION.
PR: 134357
Submited by: Joseph S. Atkinson
Approved by: maintainer timeout
Feature safe: yes (bug-fix)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdnav/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile index 6ad7493ad3c6..fafe42e43763 100644 --- a/multimedia/libdvdnav/Makefile +++ b/multimedia/libdvdnav/Makefile @@ -7,15 +7,13 @@ PORTNAME= libdvdnav PORTVERSION= 0.1.10 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= SF/dvd/${PORTNAME}/${PORTVERSION} MAINTAINER= nobutaka@FreeBSD.org COMMENT= The library for the xine-dvdnav plugin -LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread - CONFLICTS= libdvdnav-mplayer-[0-9]* CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ @@ -24,6 +22,9 @@ CONFIGURE_ARGS= --program-transform-name='' USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:22 autoconf:262 automake:16 +# Internal libdvdread staticly dlopens libdvdcss.so.2 +DVDCSS_LIBVERSION= 3 + post-patch: ${REINPLACE_CMD} -e \ 's|THREAD_LIBS="[^"]*"$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ @@ -32,6 +33,8 @@ post-patch: s|-I/usr/local/include|-I${LOCALBASE}/include|g' \ ${WRKSRC}/configure ${WRKSRC}/configure.ac \ ${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh + @${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \ + ${WRKSRC}/src/dvdread/dvd_input.c post-configure: ${REINPLACE_CMD} -e 's|automake[0-9][0-9]|${TRUE}|' \ |