diff options
author | salo <salo> | 2003-06-23 15:46:22 +0000 |
---|---|---|
committer | salo <salo> | 2003-06-23 15:46:22 +0000 |
commit | e5bc4bd1c4e2d02d245e1ba72148b7760529cc33 (patch) | |
tree | c899904b843834fab85d39fdaa324df6bf39a2a6 /graphics | |
parent | eb415f3481789a9a5fea59545dfa2716bb2f36b1 (diff) | |
download | pkgsrc-e5bc4bd1c4e2d02d245e1ba72148b7760529cc33.tar.gz |
Introduce MPLAYER_USE_MEDIALIB.
It's used to enable optional support for Sun mediaLib library. (only takes
effect on Solaris).
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mplayer-share/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common index 2ca0a5b244a..23e3cec26b8 100644 --- a/graphics/mplayer-share/Makefile.common +++ b/graphics/mplayer-share/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.33 2003/06/23 14:23:17 jschauma Exp $ +# $NetBSD: Makefile.common,v 1.34 2003/06/23 15:46:23 salo Exp $ # MPLAYER_DIST_VERSION= 0.90 @@ -58,3 +58,9 @@ BUILD_DEFS+= MPLAYER_ENABLE_RUNTIME_CPU_DETECTION .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "alpha" CONFIGURE_ARGS+= --with-reallibdir="${LOCALBASE}/lib/RealPlayer8-Codecs" .endif + +.if ${OPSYS} == "SunOS" && !empty(MPLAYER_USE_MEDIALIB:M[Yy][Ee][Ss]) +CONFIGURE_ARGS+= --enable-mlib +.else +CONFIGURE_ARGS+= --disable-mlib +.endif |