aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-07 19:49:41 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-07 19:49:41 +0000
commit7046a55fd8c78a3bf8c78c239a321985cdb6e3ad (patch)
tree44170eaab332d8a08ad941e3638a2e1e422229c8 /net-mgmt/ettercap
parent78ba9cefd2a78753796f0a79d3906abee675f58d (diff)
downloadports-7046a55fd8c78a3bf8c78c239a321985cdb6e3ad.tar.gz
ports-7046a55fd8c78a3bf8c78c239a321985cdb6e3ad.zip
Notes
Diffstat (limited to 'net-mgmt/ettercap')
-rw-r--r--net-mgmt/ettercap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index aaad0698fe0b..16eaf1ea2ab1 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -51,7 +51,7 @@ CONFIGURE_ARGS+=--disable-gtk
.endif
.if ${PORT_OPTIONS:MUTF8}
-CONFIGURE_ARGS+=--with-iconv=${LOCALBASE}
+CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
USES+= iconv
.endif
@@ -91,6 +91,7 @@ post-patch:
-e 's|test -f /usr/include/libnet\.h|${TRUE}|' \
-e 's|(LNETINC=).*|\1"`${LIBNET_CONFIG} --cflags`"|' \
-e 's|(LNETLIB=).*|\1"`${LIBNET_CONFIG} --libs`"|' \
+ -e '/ICONVLIB/s|-liconv|${ICONV_LIB}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -E \
-e 's|(^pkgdatadir.+=).+|\1 ${DATADIR}|' \