aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-18 11:40:34 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-18 11:40:34 +0000
commit73b55d281454a17d29504390a6527a345dcbf2c2 (patch)
treee0d0204e7b904e419d061398fec005a74bf585ff /audio
parent161afd1b40781538f72b7e69b2b8cb674a09b001 (diff)
downloadports-73b55d281454a17d29504390a6527a345dcbf2c2.tar.gz
ports-73b55d281454a17d29504390a6527a345dcbf2c2.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/mpc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index d1256de0fbdb..1537eccb29dd 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -33,12 +33,13 @@ PLIST_FILES= bin/${PORTNAME}
.if ${PORT_OPTIONS:MICONV}
USES+= iconv
+LDFLAGS+= ${ICONV_LIB}
.else
CONFIGURE_ARGS+=--disable-iconv
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-lintl|-l${ICONV_LIB}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lintl|${ICONV_LIB}|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin