diff options
Diffstat (limited to 'net/mDNSResponder')
-rw-r--r-- | net/mDNSResponder/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index cb70f32c50d..76780b0363d 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/09/07 22:12:18 jlam Exp $ +# $NetBSD: Makefile,v 1.24 2007/12/21 11:59:39 obache Exp $ DISTNAME= mDNSResponder-108 PKGREVISION= 1 @@ -13,6 +13,8 @@ USE_TOOLS+= gmake BUILD_DIRS= mDNSPosix BUILDDIR= ${WRKSRC}/mDNSPosix/build/prod +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" SO_SUFFIX= so @@ -69,13 +71,13 @@ MAKE_ENV+= HAVE_IPV6=1 do-install: for i in ${BINARY}; do \ - ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${DESTDIR}${PREFIX}/bin; \ done for i in ${SBINARY}; do \ - ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/sbin; \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${DESTDIR}${PREFIX}/sbin; \ done - ${INSTALL_DATA} ${WRKSRC}/mDNSShared/dns_sd.h ${PREFIX}/include - ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/mDNSShared/dns_sd.h ${DESTDIR}${PREFIX}/include + ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${DESTDIR}${PREFIX}/lib .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |