Date: Mon, 11 Nov 2013 14:16:47 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333507 - head/net/mDNSResponder Message-ID: <201311111416.rABEGl2u079586@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Nov 11 14:16:47 2013 New Revision: 333507 URL: http://svnweb.freebsd.org/changeset/ports/333507 Log: - Fix build on arm Thanks to kevlo for testing on arm architecture. PR: ports/183212 Submitted by: Matthieu Volat <mazhe@alkumuna.eu> Tested by: kevlo Modified: head/net/mDNSResponder/Makefile Modified: head/net/mDNSResponder/Makefile ============================================================================== --- head/net/mDNSResponder/Makefile Mon Nov 11 14:16:05 2013 (r333506) +++ head/net/mDNSResponder/Makefile Mon Nov 11 14:16:47 2013 (r333507) @@ -26,6 +26,12 @@ EXTRA_MAN1= dns-sd.1 EXTRA_MAN8= dnsextd.8 mDNSResponderPosix.8 EXTRA_SBIN= dnsextd +.include <bsd.port.pre.mk> + +.if ${ARCH} == "arm" +MAKE_ARGS+= LD="${CC} -shared" +.endif + post-patch: @${REINPLACE_CMD} -e '/ cc / s|cc|$${CC}|' ${WRKSRC}/Clients/Makefile @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g; s|mDNSResponder.8|mDNSResponderPosix.8|g' ${WRKSRC}/mDNSPosix/Makefile @@ -41,4 +47,4 @@ post-install: cd ${WRKSRC}/mDNSShared/ && ${INSTALL_MAN} ${EXTRA_MAN8} ${STAGEDIR}${PREFIX}/man/man8/ cd ${WRKSRC}/mDNSPosix/build/prod/ && ${INSTALL_PROGRAM} ${EXTRA_SBIN} ${STAGEDIR}${PREFIX}/sbin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111416.rABEGl2u079586>