aboutsummaryrefslogtreecommitdiff
path: root/dns/idnkit2
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-05 20:18:30 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-05 20:18:30 +0000
commit54e44467d7a2aed3673c0a14dbbb8e6dd1bee7be (patch)
tree3b1d1321b78dcf4a659d95ca332649d8253316c1 /dns/idnkit2
parent454b9ce076de33c963302ac6c86affcddce681dd (diff)
downloadports-54e44467d7a2aed3673c0a14dbbb8e6dd1bee7be.tar.gz
ports-54e44467d7a2aed3673c0a14dbbb8e6dd1bee7be.zip
Notes
Diffstat (limited to 'dns/idnkit2')
-rw-r--r--dns/idnkit2/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/dns/idnkit2/Makefile b/dns/idnkit2/Makefile
index 9b27efe4ae79..83326e48d29b 100644
--- a/dns/idnkit2/Makefile
+++ b/dns/idnkit2/Makefile
@@ -20,6 +20,7 @@ USE_AUTOTOOLS= libtool
USES= iconv
USE_BZIP2= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE}
USE_LDCONFIG= yes
@@ -32,16 +33,8 @@ MAN3= idn_checkname.3 idn_comparenames.3 idn_comparenames2.3 \
MAN5= idn2.conf.5 idn2rc.5 idnalias.conf.5 idnlang.conf.5
MANCOMPRESSED= no
-.include <bsd.port.pre.mk>
-
-.if empty(ICONV_LIB)
-CONFIGURE_ARGS= --with-libiconv=/usr
-.else
-CONFIGURE_ARGS= --with-libiconv=${LOCALBASE}
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|' \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>