pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Remove hack working around NetBSD 1.5's specfiles.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5fd52d102f6
branches:  trunk
changeset: 366257:d5fd52d102f6
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Aug 07 23:54:09 2017 +0000

description:
Remove hack working around NetBSD 1.5's specfiles.

diffstat:

 mk/build/bsd.build-vars.mk |  3 +--
 mk/platform/NetBSD.mk      |  8 +-------
 mk/platform/README         |  4 +---
 3 files changed, 3 insertions(+), 12 deletions(-)

diffs (57 lines):

diff -r d40bdccfde52 -r d5fd52d102f6 mk/build/bsd.build-vars.mk
--- a/mk/build/bsd.build-vars.mk        Mon Aug 07 23:44:53 2017 +0000
+++ b/mk/build/bsd.build-vars.mk        Mon Aug 07 23:54:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.build-vars.mk,v 1.11 2016/04/10 15:58:02 joerg Exp $
+# $NetBSD: bsd.build-vars.mk,v 1.12 2017/08/07 23:54:09 maya Exp $
 #
 # Package-settable variables:
 #
@@ -32,7 +32,6 @@
 
 MAKE_ENV+=     ${ALL_ENV}
 MAKE_ENV+=     ${NO_EXPORT_CPP:D:UCPP=${CPP:Q}}
-MAKE_ENV+=     LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q}
 MAKE_ENV+=     LOCALBASE=${LOCALBASE:Q}
 MAKE_ENV+=     X11BASE=${X11BASE:Q}
 MAKE_ENV+=     PKGMANDIR=${PKGMANDIR:Q}
diff -r d40bdccfde52 -r d5fd52d102f6 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk     Mon Aug 07 23:44:53 2017 +0000
+++ b/mk/platform/NetBSD.mk     Mon Aug 07 23:54:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.54 2017/08/07 23:44:53 maya Exp $
+# $NetBSD: NetBSD.mk,v 1.55 2017/08/07 23:54:09 maya Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -84,12 +84,6 @@
 _PATCH_BACKUP_ARG?=    -V simple --suffix # switch to patch(1) for backup suffix
 _USE_RPATH=            yes     # add rpath to LDFLAGS
 
-# for programs which use dlopen()
-# not necessary since 1.6 (shared libs are linked against libgcc_pic)
-.if !empty(OS_VERSION:M1.5*)
-LINK_ALL_LIBGCC_HACK=  -Wl,--whole-archive -lgcc -Wl,--no-whole-archive
-.endif
-
 _STRIPFLAG_CC?=                ${_INSTALL_UNSTRIPPED:D:U-s}    # cc(1) option to strip
 _STRIPFLAG_INSTALL?=   ${_INSTALL_UNSTRIPPED:D:U-s}    # install(1) option to strip
 
diff -r d40bdccfde52 -r d5fd52d102f6 mk/platform/README
--- a/mk/platform/README        Mon Aug 07 23:44:53 2017 +0000
+++ b/mk/platform/README        Mon Aug 07 23:54:09 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.5 2016/03/10 16:58:19 jperkin Exp $
+$NetBSD: README,v 1.6 2017/08/07 23:54:09 maya Exp $
 
 These files contain platform-specific definitions that are used by the
 pkgsrc infrastructure.
@@ -91,8 +91,6 @@
 
     _USE_RPATH is "yes" to add rpath to LDFLAGS, otherwise "no"
 
-    LINK_ALL_LIBGCC_HACK
-
     _STRIPFLAG_CC is cc(1) option to strip.
 
     _STRIPFLAG_INSTALL is install(1) option to strip.



Home | Main Index | Thread Index | Old Index