pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg



Module Name:    pkgsrc
Committed By:   marino
Date:           Fri Nov 18 14:10:18 UTC 2016

Modified Files:
        pkgsrc/pkgtools/pkg: Makefile

Log Message:
pkgtools/pkg: Fix build on recent NetBSD 7.99

After the binutils import, the RPATH is not getting set on -current
versions of NetBSD.  This BUILDLINK_TRANSFORM from wiz should resolve
that issue.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/pkgtools/pkg/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg/Makefile
diff -u pkgsrc/pkgtools/pkg/Makefile:1.16 pkgsrc/pkgtools/pkg/Makefile:1.17
--- pkgsrc/pkgtools/pkg/Makefile:1.16   Tue Nov 15 17:48:56 2016
+++ pkgsrc/pkgtools/pkg/Makefile        Fri Nov 18 14:10:18 2016
@@ -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



Home | Main Index | Thread Index | Old Index