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
commit838741dc95d1937c2d8d16e11cec05e61346e010 (patch)
treec734cfd1fdee5a0a4d86b2b6096798b0ac25c1a9 /multimedia
parentdb24400adcf1f9a5185162ed29acc0df438f30bc (diff)
downloadpkgsrc-838741dc95d1937c2d8d16e11cec05e61346e010.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"