diff options
author | lioux <lioux@FreeBSD.org> | 2002-04-19 01:53:38 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-04-19 01:53:38 +0800 |
commit | 516d8475b72d554f975739cf2434161dbd6ab1c8 (patch) | |
tree | 0cc95487278768bdb04e3dae9f779148d2e89a92 /multimedia/libdvdread | |
parent | 4804173e16ccd0dfa5d6519d45bd91197a9b6362 (diff) | |
download | freebsd-ports-graphics-516d8475b72d554f975739cf2434161dbd6ab1c8.tar.gz freebsd-ports-graphics-516d8475b72d554f975739cf2434161dbd6ab1c8.tar.zst freebsd-ports-graphics-516d8475b72d554f975739cf2434161dbd6ab1c8.zip |
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
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 756c75eee53..10b95728be0 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: |