Index: Makefile =================================================================== --- Makefile (revision 373455) +++ Makefile (working copy) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= mDNSResponder_nss -PORTVERSION= 544 -PORTREVISION= 1 +PORTVERSION= 561.1.1 CATEGORIES= dns net MASTER_SITES= http://opensource.apple.com/tarballs/mDNSResponder/ DISTNAME= ${PORTNAME:S/_nss//}-${PORTVERSION} @@ -19,6 +18,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME:S/_nss//}-${PORTVERSION} +.include + +.if ${ARCH:C/^(...).*/\1/} == "arm" +LD=${CC} +.endif + post-extract: @${CP} ${FILESDIR}/nss_mdns_freebsd.c ${WRKSRC}/mDNSPosix @@ -47,4 +52,4 @@ ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ ${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample -.include +.include Index: distinfo =================================================================== --- distinfo (revision 373455) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (mDNSResponder-544.tar.gz) = c6ad1d53c28d28c0e3689bdf5efd9ce6f5c4c3692e8ad76e5eeb4d0c248929ac -SIZE (mDNSResponder-544.tar.gz) = 2153326 +SHA256 (mDNSResponder-561.1.1.tar.gz) = 217ca717149b999a34c568913e4721beef96ac7ab93db8a012e68ffe816530d9 +SIZE (mDNSResponder-561.1.1.tar.gz) = 2153693 Index: pkg-message =================================================================== --- pkg-message (revision 0) +++ pkg-message (working copy) @@ -0,0 +1,6 @@ +================================================================================ +To enable the mDNSResponder NSS module, update the hosts entry in +/etc/nsswitch.conf by adding mdns, preferably between file and dns: + +hosts: file mdns dns +================================================================================