aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-wma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-wma/Makefile')
-rw-r--r--audio/xmms-wma/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/xmms-wma/Makefile b/audio/xmms-wma/Makefile
index b0c25f4832ce..42244cd213fe 100644
--- a/audio/xmms-wma/Makefile
+++ b/audio/xmms-wma/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmms-wma
PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://mcmcc.bat.ru/xmms-wma/
@@ -25,11 +25,18 @@ ONLY_FOR_ARCHS= i386
PLIST_FILES= lib/xmms/Input/libwma.so
-.if defined(ICONV)
-CFLAGS+= -DICONV
+.if defined(WITH_ICONV)
+CFLAGS+= -DUSE_ICONV
USE_ICONV= yes
.endif
+pre-everything::
+.if !defined(WITH_ICONV)
+ @${ECHO_MSG} "You may specify the following on the command line:"
+ @${ECHO_MSG} " "
+ @${ECHO_MSG} "WITH_ICONV=yes Enable tag recoding support using iconv"
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak