aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-02-09 00:18:49 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-02-09 00:18:49 +0000
commitaaa8832b374e2c286e0230e7da838f61583ff860 (patch)
treefba0121bedddfca03a1d3f01228845368b259703 /dns
parent339de38ec07f0d0077671049b6c0d1513a01920d (diff)
downloadports-aaa8832b374e2c286e0230e7da838f61583ff860.tar.gz
ports-aaa8832b374e2c286e0230e7da838f61583ff860.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsmasq/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index 8242af93f8d1..21e5587cfca7 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -96,8 +96,8 @@ post-patch:
pre-configure: pretty-print-config
.if ${PORT_OPTIONS:MIDN}
.if empty(PORT_OPTIONS:MNLS)
- @if ${OBJDUMP} -p ${LOCALBASE}/lib/libidn.so \
- | ${EGREP} -q 'NEEDED[[:space:]]+libintl\.so' ; \
+ @if ${READELF} -d ${LOCALBASE}/lib/libidn.so \
+ | ${EGREP} -q '\<NEEDED\>.*\[libintl\.so' ; \
then ${ECHO} ; ${ECHO} 'WARNING: dns/libidn was compiled with NLS support!' ; \
${ECHO} 'Recompile libidn WITHOUT_NLS to get rid of NLS dependencies.' ; ${ECHO} ; \
fi