summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-11-21 18:20:40 +0000
committerjperkin <jperkin@pkgsrc.org>2022-11-21 18:20:40 +0000
commit1f27162f393e4c1b8fbe76fe1c2efc883eb3847a (patch)
treed11325d42041995b4d5df045d715040c9f59d858 /net
parent6502892ac7af3b068b71b30b7f0b4e881b4702c6 (diff)
downloadpkgsrc-1f27162f393e4c1b8fbe76fe1c2efc883eb3847a.tar.gz
*: Re-apply SunOS linker argument removals.
These are currently duplicated in mk/platform/SunOS.mk but the generic removals will be removed soon in favour of per-package removals, due to flags getting leaked into installed files.
Diffstat (limited to 'net')
-rw-r--r--net/gupnp-dlna/Makefile4
-rw-r--r--net/ser/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/net/gupnp-dlna/Makefile b/net/gupnp-dlna/Makefile
index bf33c40a10f..09acdd59f15 100644
--- a/net/gupnp-dlna/Makefile
+++ b/net/gupnp-dlna/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2022/07/22 17:07:14 micha Exp $
+# $NetBSD: Makefile,v 1.39 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= gupnp-dlna-0.10.3
PKGREVISION= 23
@@ -19,6 +19,8 @@ PKGCONFIG_OVERRIDE+= gupnp-dlna-2.0.pc.in
PKGCONFIG_OVERRIDE+= gupnp-dlna-gst-2.0.pc.in
#PKGCONFIG_OVERRIDE+= gupnp-dlna-metadata-2.0.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/net/ser/Makefile b/net/ser/Makefile
index 9eb0c15bd9d..bac87c7892e 100644
--- a/net/ser/Makefile
+++ b/net/ser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/06/23 20:33:15 nia Exp $
+# $NetBSD: Makefile,v 1.10 2022/11/21 18:20:44 jperkin Exp $
#
DISTNAME= ser-0.8.14_src
@@ -27,6 +27,8 @@ MAKE_ENV+= cfg-prefix=${PREFIX}/share/examples
MAKE_ENV+= EGDIR=${EGDIR:Q}
INSTALL_ENV+= BASEDIR=${DESTDIR}
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O2 rm:-Wl,-E
+
CHECK_PORTABILITY_SKIP+= scripts/sc
INSTALLATION_DIRS+= ${EGDIR}