svn commit: r433702 - head/dns/dnsmasq

Matthias Andree mandree at FreeBSD.org
Thu Feb 9 00:18:51 UTC 2017


Author: mandree
Date: Thu Feb  9 00:18:49 2017
New Revision: 433702
URL: https://svnweb.freebsd.org/changeset/ports/433702

Log:
  Use readelf instead of objdump, unbreaking arm64 build.
  
  Submitted by:	emaste@
  Differential Revision:	https://reviews.freebsd.org/D7881

Modified:
  head/dns/dnsmasq/Makefile

Modified: head/dns/dnsmasq/Makefile
==============================================================================
--- head/dns/dnsmasq/Makefile	Thu Feb  9 00:09:59 2017	(r433701)
+++ head/dns/dnsmasq/Makefile	Thu Feb  9 00:18:49 2017	(r433702)
@@ -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


More information about the svn-ports-all mailing list