aboutsummaryrefslogtreecommitdiff
path: root/emulators/vice
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-02 05:41:50 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-02 05:41:50 +0000
commit41aa63fa0bee5444822b549f9b5edeaf3923f0a0 (patch)
tree329b9860cec2b8bc443912ad4a52d7732ffc9db3 /emulators/vice
parentf5447d93be8416343a7bdfd7332194300bedd22c (diff)
downloadports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.tar.gz
ports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.zip
Notes
Diffstat (limited to 'emulators/vice')
-rw-r--r--emulators/vice/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 3c90ef7433fe..b7b0b2f60623 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -105,8 +105,7 @@ LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
.endif
.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PATCH_DEPENDS+= ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv
+USES+= gettext iconv:patch
CONFIGURE_ARGS+= --enable-nls --localedir=${LOCALBASE}/share/locale
# causes vice to crash:
#LDFLAGS+= -lgettextlib
@@ -139,7 +138,7 @@ post-patch:
${WRKSRC}/configure
.for i in da.po de.po fr.po hu.po it.po nl.po pl.po sv.po tr.po
${MV} "${WRKSRC}/po/${i}" "${WRKSRC}/po/${i}.latin"
- ${LOCALBASE}/bin/iconv -f latin1 -t utf-8 < "${WRKSRC}/po/${i}.latin" > "${WRKSRC}/po/${i}"
+ ${ICONV_CMD} -f latin1 -t utf-8 < "${WRKSRC}/po/${i}.latin" > "${WRKSRC}/po/${i}"
.endfor
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in