pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkgtools/pkg: Fix build on recent NetBSD ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a561ad05410
branches:  trunk
changeset: 355021:5a561ad05410
user:      marino <marino%pkgsrc.org@localhost>
date:      Fri Nov 18 14:10:18 2016 +0000

description:
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.

diffstat:

 pkgtools/pkg/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ec71fcb4152a -r 5a561ad05410 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile     Fri Nov 18 12:46:53 2016 +0000
+++ b/pkgtools/pkg/Makefile     Fri Nov 18 14:10:18 2016 +0000
@@ -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?=  ${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