summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorrillig <rillig>2008-02-13 00:55:55 +0000
committerrillig <rillig>2008-02-13 00:55:55 +0000
commit6657fa93a65402a7f2fde7c03cbe0143ee53fb6b (patch)
treec734cfd1fdee5a0a4d86b2b6096798b0ac25c1a9 /multimedia
parent378473be9c025cb46e185035ec0140639e60d682 (diff)
downloadpkgsrc-6657fa93a65402a7f2fde7c03cbe0143ee53fb6b.tar.gz
Added "debug" option.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer-share/options.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index a5dff074b29..a1288e83646 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.25 2007/12/27 13:19:40 wiz Exp $
+# $NetBSD: options.mk,v 1.26 2008/02/13 00:55:55 rillig Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
@@ -14,7 +14,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
# Options supported by both mplayer* or mencoder*.
-PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis
+PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis debug
.if ${OSS_TYPE} != "none"
PKG_SUPPORTED_OPTIONS+= oss
.endif
@@ -106,6 +106,10 @@ CONFIGURE_ARGS+= --enable-cdparanoia
CONFIGURE_ARGS+= --disable-cdparanoia
.endif
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
.if !empty(PKG_OPTIONS:Mdts)
CONFIGURE_ARGS+= --enable-libdca
. include "../../audio/libdca/buildlink3.mk"