summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-08-21 11:37:53 +0000
committerabs <abs@pkgsrc.org>2008-08-21 11:37:53 +0000
commit76c83885dce3a8f2af22b3ac0f4c0d0e1410b411 (patch)
treec4a30d1be126d1fb2215eec98baffc1ecf24be0f /multimedia
parent011f0d52486aefbe61cf1d2d6a462ecc7ea71a8d (diff)
downloadpkgsrc-76c83885dce3a8f2af22b3ac0f4c0d0e1410b411.tar.gz
Add faac option (disabled by default
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer-share/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index 87b38c39095..58645ef4d05 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.31 2008/03/25 15:35:36 wiz Exp $
+# $NetBSD: options.mk,v 1.32 2008/08/21 11:37:53 abs Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
@@ -31,7 +31,7 @@ PKG_SUPPORTED_OPTIONS+= aalib esound ggi mplayer-menu nas sdl
PKG_SUPPORTED_OPTIONS+= arts
. endif
.elif !empty(PKGNAME:M*mencoder*)
-PKG_SUPPORTED_OPTIONS+= lame
+PKG_SUPPORTED_OPTIONS+= faac lame
.endif
# OS-specific options.
@@ -142,6 +142,11 @@ CONFIGURE_ARGS+= --enable-esd
CONFIGURE_ARGS+= --disable-esd
.endif
+.if !empty(PKG_OPTIONS:Mfaac)
+. include "../../audio/faac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-faac
+.endif
.if empty(PKG_OPTIONS:Mfaad) && empty(PKG_OPTIONS:Mmplayer-internal-faad)
CONFIGURE_ARGS+= --disable-faad-external