diff options
Diffstat (limited to 'pkgtools/pkg/Makefile')
-rw-r--r-- | pkgtools/pkg/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkg/Makefile b/pkgtools/pkg/Makefile index 976da20fc5c..b72f0182876 100644 --- a/pkgtools/pkg/Makefile +++ b/pkgtools/pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2016/11/15 17:48:56 marino Exp $ +# $NetBSD: Makefile,v 1.17 2016/11/18 14:10:18 marino Exp $ DISTNAME= pkg-1.8.7 PKGREVISION= 8 @@ -148,6 +148,10 @@ PKGNG_DBDIR?= ${PKG_DBDIR} PKGNG_DBDIR?= ${PREFIX}/pkgng-db .endif +.if ${OPSYS} == "NetBSD" +BUILDLINK_TRANSFORM+= rm:-Wl,--enable-new-dtags +.endif + .if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly" && ${OPSYS} != "NetBSD" .include "../../archivers/libarchive/buildlink3.mk" .endif |