From 3ee440e49611f2752f82f80449bb13abd0ba670e Mon Sep 17 00:00:00 2001 From: itetcu Date: Sat, 19 Sep 2009 19:54:43 +0000 Subject: 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) --- multimedia/libdvdnav/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'multimedia/libdvdnav') 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}|' \ -- cgit