summaryrefslogtreecommitdiff
path: root/wm/icewm
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 /wm/icewm
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 'wm/icewm')
-rw-r--r--wm/icewm/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/wm/icewm/Makefile.common b/wm/icewm/Makefile.common
index b921b201aa3..f06f2bb7293 100644
--- a/wm/icewm/Makefile.common
+++ b/wm/icewm/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.74 2022/08/09 12:08:31 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.75 2022/11/21 18:20:45 jperkin Exp $
#
# used by wm/icewm/Makefile
# used by wm/icewm-imlib/Makefile
@@ -37,6 +37,8 @@ CONFIGURE_ARGS+= --disable-xinerama
.endif
MAKE_FLAGS+= LOCDIR=${PREFIX}/${PKGLOCALEDIR}/locale
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
PKG_SYSCONFSUBDIR= icewm
.if ${OPSYS} == "NetBSD" && (!exists(/usr/include/machine/apmvar.h) || \