From aaa8832b374e2c286e0230e7da838f61583ff860 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 9 Feb 2017 00:18:49 +0000 Subject: Use readelf instead of objdump, unbreaking arm64 build. Submitted by: emaste@ Differential Revision: https://reviews.freebsd.org/D7881 --- dns/dnsmasq/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dns/dnsmasq') 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 '\.*\[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 -- cgit v1.2.3