diff options
author | grant <grant@pkgsrc.org> | 2003-10-18 11:54:33 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-18 11:54:33 +0000 |
commit | 436325f74a16d74bcad48887da4a988bd2eb8a19 (patch) | |
tree | 58c4000b3495c0dff5d79050dd5bbf3a0a289ea4 /graphics/mplayer-share | |
parent | 6352f856883c72485100efda68289126fe27f6e7 (diff) | |
download | pkgsrc-436325f74a16d74bcad48887da4a988bd2eb8a19.tar.gz |
only build with cdparanoia support if cdparanoia is present.
Diffstat (limited to 'graphics/mplayer-share')
-rw-r--r-- | graphics/mplayer-share/Makefile.common | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common index 9596f3f02a6..dbc360755bd 100644 --- a/graphics/mplayer-share/Makefile.common +++ b/graphics/mplayer-share/Makefile.common @@ -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 @@ PTHREAD_OPTS+= require 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 @@ BUILD_DEFS+= MPLAYER_ENABLE_RUNTIME_CPU_DETECTION 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 |