pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/mplayer-share only build with cdparanoia supp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5169c039b61
branches:  trunk
changeset: 462892:d5169c039b61
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 18 11:54:33 2003 +0000

description:
only build with cdparanoia support if cdparanoia is present.

diffstat:

 graphics/mplayer-share/Makefile.common |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 734917865523 -r d5169c039b61 graphics/mplayer-share/Makefile.common
--- a/graphics/mplayer-share/Makefile.common    Sat Oct 18 11:53:48 2003 +0000
+++ b/graphics/mplayer-share/Makefile.common    Sat Oct 18 11:54:33 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.41 2003/10/18 11:51:09 grant Exp $
+# $NetBSD: Makefile.common,v 1.42 2003/10/18 11:54:33 grant Exp $
 #
 
 MPLAYER_DIST_VERSION=  1.0pre1
@@ -34,7 +34,6 @@
 
 CONFIGURE_ARGS+=       --prefix="${PREFIX}"
 CONFIGURE_ARGS+=       --with-extraincdir="${LOCALBASE}/include"
-CONFIGURE_ARGS+=       --with-cdparanoiaincdir="${LOCALBASE}/include/cdparanoia"
 CONFIGURE_ARGS+=       --with-extralibdir="${LOCALBASE}/lib"
 CONFIGURE_ARGS+=       --with-extralibdir="${X11BASE}/lib"
 CONFIGURE_ARGS+=       --disable-mpdvdkit
@@ -58,6 +57,10 @@
 CONFIGURE_ARGS+=       --with-reallibdir="${LOCALBASE}/lib/RealPlayer8-Codecs"
 .endif
 
+.if defined(BUILDLINK_PREFIX.cdparanoia)
+CONFIGURE_ARGS+=       --with-cdparanoiaincdir="${BUILDLINK_PREFIX.cdparanoia}/include/cdparanoia"
+.endif
+
 .if ${OPSYS} == "SunOS" && !empty(MPLAYER_USE_MEDIALIB:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-mlib
 .else



Home | Main Index | Thread Index | Old Index