diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-07 19:49:41 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-07 19:49:41 +0000 |
commit | 7046a55fd8c78a3bf8c78c239a321985cdb6e3ad (patch) | |
tree | 44170eaab332d8a08ad941e3638a2e1e422229c8 /net-mgmt | |
parent | 78ba9cefd2a78753796f0a79d3906abee675f58d (diff) | |
download | ports-7046a55fd8c78a3bf8c78c239a321985cdb6e3ad.tar.gz ports-7046a55fd8c78a3bf8c78c239a321985cdb6e3ad.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/ettercap/Makefile | 3 |
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}|' \ |