diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-04-18 17:53:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-04-18 17:53:38 +0000 |
commit | 86b20d20acf8f529efc4ec276320cf295773489a (patch) | |
tree | e6e856dad28635e9d947a8c9e88daeb9c80c4007 /multimedia/libdvdread | |
parent | * Change path directory separator character back to _. The problem is "::" (diff) |
o Add libdvdcss as a library dependency so that we can properly
match libdvdcss version with libdvdread since it depends on
matching libdvdcss API
o No meaningless overhead since libdvdread automatically uses
libdvdcss whether the port has knowledge of it or not. Besides,
all ports using libdvdread list libdvdcss as a dependency as well
(exception made to xine_d5d_plugin but an updated version will)
o Also, it's a 22K overhead
o Furthermore, all ports depending on libdvdread SHOULD depend on
libdvdcss for obvious reasons
Reviewed by: fenner
Notes
Notes:
svn path=/head/; revision=57861
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r-- | multimedia/libdvdread/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile index 756c75eee534..10b95728be06 100644 --- a/multimedia/libdvdread/Makefile +++ b/multimedia/libdvdread/Makefile @@ -7,18 +7,25 @@ PORTNAME= libdvdread PORTVERSION= 0.9.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ MAINTAINER= 3d@FreeBSD.org +LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/graphics/libdvdcss + GNU_CONFIGURE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes DOC_FILES= AUTHORS NEWS README TODO +# ugly hack to have libdvdread directly depend on libdvdcss since +# it already does for practical reasons even though not for compile +# time ones +DVDCSS_LIBVERSION= 2 + # optional CFLAGS safeness .if !defined(WITH_OPTIMIZED_CFLAGS) USE_AUTOCONF= yes @@ -36,7 +43,7 @@ post-patch: s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p} .endfor # update this in sync with libdvdcss shared library version - @${PERL} -pi -e 's|(libdvdcss.so).0|\1|' \ + @${PERL} -pi -e 's|(libdvdcss.so).0|\1.${DVDCSS_LIBVERSION}|' \ ${WRKSRC}/dvdread/dvd_reader.c post-configure: |