summaryrefslogtreecommitdiff
path: root/audio/lame/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lame/options.mk')
-rw-r--r--audio/lame/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/lame/options.mk b/audio/lame/options.mk
index 4619cc6e3e6..5b17062c68b 100644
--- a/audio/lame/options.mk
+++ b/audio/lame/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2008/10/09 14:47:56 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2010/11/07 15:27:26 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lame
-PKG_SUPPORTED_OPTIONS= gtk sndfile
+PKG_SUPPORTED_OPTIONS= gtk sndfile unicode
.include "../../mk/bsd.options.mk"
@@ -21,6 +21,11 @@ USE_TOOLS+= pkg-config
. include "../../audio/libsndfile/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Municode)
+CFLAGS+= -DHAVE_ICONV
+. include "../../converters/libiconv/buildlink3.mk"
+.endif
+
# doesn't work
#.if !empty(PKG_OPTIONS:Mvorbis)
#CONFIGURE_ARGS+= --with-vorbis