diff options
author | salo <salo@pkgsrc.org> | 2003-06-23 15:46:22 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-06-23 15:46:22 +0000 |
commit | 6fcb841a50a2696ff547b143d5080f31cffb07cd (patch) | |
tree | c899904b843834fab85d39fdaa324df6bf39a2a6 | |
parent | 3272a8aa777bd0112a96bec95ca7ccc3f0a89022 (diff) | |
download | pkgsrc-6fcb841a50a2696ff547b143d5080f31cffb07cd.tar.gz |
Introduce MPLAYER_USE_MEDIALIB.
It's used to enable optional support for Sun mediaLib library. (only takes
effect on Solaris).
-rw-r--r-- | graphics/mplayer-share/Makefile.common | 8 | ||||
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 8 |
2 files changed, 14 insertions, 2 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 diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk index c73a8aab372..202a710b49e 100644 --- a/mk/bsd.pkg.defaults.mk +++ b/mk/bsd.pkg.defaults.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.defaults.mk,v 1.155 2003/06/23 15:10:44 salo Exp $ +# $NetBSD: bsd.pkg.defaults.mk,v 1.156 2003/06/23 15:46:22 salo Exp $ # # A file providing defaults for pkgsrc and the packages collection. @@ -1173,6 +1173,12 @@ MPLAYER_ENABLE_RUNTIME_CPU_DETECTION?= YES # Possible: YES, NO # Default: YES +MPLAYER_USE_MEDIALIB?= NO +# Used by mplayer to enable optional support for Sun mediaLib library. +# Note that this only takes effect on Solaris. +# Possible: YES, NO +# Default: NO + #MOTIF_TYPE?= openmotif # Used by motif.buildlink2.mk to choose which Motif-2.0-compatible # installation to use. This value is also automatically set by |