pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Nov 21 18:20:46 UTC 2022
Modified Files:
pkgsrc/archivers/lzlib: Makefile
pkgsrc/audio/fluidsynth: Makefile
pkgsrc/audio/libcanberra: Makefile
pkgsrc/audio/ykchorus: Makefile
pkgsrc/audio/zam-plugins: Makefile
pkgsrc/chat/pidgin-latex: Makefile
pkgsrc/databases/mysql80-client: Makefile.common
pkgsrc/databases/pgpool2: Makefile
pkgsrc/databases/vsqlite++: Makefile
pkgsrc/devel/devhelp: Makefile
pkgsrc/devel/woboq_codebrowser: Makefile
pkgsrc/editors/codelite: Makefile
pkgsrc/editors/scite: Makefile
pkgsrc/games/doomlegacy: Makefile
pkgsrc/games/klavaro: Makefile
pkgsrc/games/libretro-nxengine: Makefile
pkgsrc/games/pioneers: Makefile
pkgsrc/games/stockfish: Makefile
pkgsrc/graphics/charls: Makefile
pkgsrc/graphics/gthumb: Makefile
pkgsrc/graphics/gthumb3: Makefile
pkgsrc/graphics/libbpg: Makefile
pkgsrc/graphics/libhighway: Makefile
pkgsrc/graphics/opencv: Makefile.common
pkgsrc/ham/xnec2c: Makefile
pkgsrc/lang/pfe: Makefile
pkgsrc/mail/claws-mail: Makefile.common
pkgsrc/mail/mail-notification: Makefile
pkgsrc/math/libixion: Makefile.common
pkgsrc/misc/yelp3: Makefile
pkgsrc/multimedia/libva: Makefile
pkgsrc/net/gupnp-dlna: Makefile
pkgsrc/net/ser: Makefile
pkgsrc/security/libgfshare: Makefile
pkgsrc/security/polkit: Makefile
pkgsrc/security/signify: Makefile
pkgsrc/sysutils/eggdbus: Makefile
pkgsrc/sysutils/gkrellm: Makefile
pkgsrc/sysutils/grun: Makefile
pkgsrc/sysutils/libdevkit-gobject: Makefile
pkgsrc/sysutils/libgksu: Makefile
pkgsrc/textproc/odt2tex: Makefile
pkgsrc/wm/icewm: Makefile.common
pkgsrc/wm/icewm14: Makefile
pkgsrc/wm/notion: Makefile
pkgsrc/www/libproxy: Makefile
pkgsrc/www/luakit: Makefile
pkgsrc/www/uhttpmock: Makefile
pkgsrc/x11/clipit: Makefile
pkgsrc/x11/gtk4: Makefile
pkgsrc/x11/hsetroot: Makefile
pkgsrc/x11/qt4-libs: Makefile.common
pkgsrc/x11/xcb-imdkit: Makefile
pkgsrc/x11/xfce4-whiskermenu-plugin: Makefile
Log Message:
*: 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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/archivers/lzlib/Makefile
cvs rdiff -u -r1.67 -r1.68 pkgsrc/audio/fluidsynth/Makefile
cvs rdiff -u -r1.54 -r1.55 pkgsrc/audio/libcanberra/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/ykchorus/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/zam-plugins/Makefile
cvs rdiff -u -r1.64 -r1.65 pkgsrc/chat/pidgin-latex/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/mysql80-client/Makefile.common
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/pgpool2/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/databases/vsqlite++/Makefile
cvs rdiff -u -r1.147 -r1.148 pkgsrc/devel/devhelp/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/woboq_codebrowser/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/editors/codelite/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/editors/scite/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/games/doomlegacy/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/games/klavaro/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/games/libretro-nxengine/Makefile
cvs rdiff -u -r1.77 -r1.78 pkgsrc/games/pioneers/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/stockfish/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/charls/Makefile
cvs rdiff -u -r1.106 -r1.107 pkgsrc/graphics/gthumb/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/graphics/gthumb3/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/libbpg/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/libhighway/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/graphics/opencv/Makefile.common
cvs rdiff -u -r1.28 -r1.29 pkgsrc/ham/xnec2c/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/lang/pfe/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/mail/claws-mail/Makefile.common
cvs rdiff -u -r1.115 -r1.116 pkgsrc/mail/mail-notification/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/libixion/Makefile.common
cvs rdiff -u -r1.82 -r1.83 pkgsrc/misc/yelp3/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/multimedia/libva/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/net/gupnp-dlna/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/ser/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/libgfshare/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/security/polkit/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/signify/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/eggdbus/Makefile
cvs rdiff -u -r1.110 -r1.111 pkgsrc/sysutils/gkrellm/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/sysutils/grun/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/libdevkit-gobject/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/sysutils/libgksu/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/odt2tex/Makefile
cvs rdiff -u -r1.74 -r1.75 pkgsrc/wm/icewm/Makefile.common
cvs rdiff -u -r1.8 -r1.9 pkgsrc/wm/icewm14/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/wm/notion/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/www/libproxy/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/luakit/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/www/uhttpmock/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/x11/clipit/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/x11/gtk4/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/x11/hsetroot/Makefile
cvs rdiff -u -r1.53 -r1.54 pkgsrc/x11/qt4-libs/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/xcb-imdkit/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/lzlib/Makefile
diff -u pkgsrc/archivers/lzlib/Makefile:1.2 pkgsrc/archivers/lzlib/Makefile:1.3
--- pkgsrc/archivers/lzlib/Makefile:1.2 Sun Nov 13 16:13:16 2022
+++ pkgsrc/archivers/lzlib/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/11/13 16:13:16 fcambus Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= lzlib-1.13
CATEGORIES= archivers devel
@@ -17,6 +17,8 @@ INFO_FILES= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --infodir=${PREFIX}/${PKGINFODIR} --enable-shared
+BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--soname=liblz.so.1:-Wl,-soname,liblz.so.1
+
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/fluidsynth/Makefile
diff -u pkgsrc/audio/fluidsynth/Makefile:1.67 pkgsrc/audio/fluidsynth/Makefile:1.68
--- pkgsrc/audio/fluidsynth/Makefile:1.67 Fri Oct 14 10:59:10 2022
+++ pkgsrc/audio/fluidsynth/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2022/10/14 10:59:10 adam Exp $
+# $NetBSD: Makefile,v 1.68 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= fluidsynth-2.3.0
CATEGORIES= audio
@@ -24,6 +24,8 @@ PKGCONFIG_OVERRIDE= fluidsynth.pc.in
LDFLAGS.SunOS+= -lsocket
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
Index: pkgsrc/audio/libcanberra/Makefile
diff -u pkgsrc/audio/libcanberra/Makefile:1.54 pkgsrc/audio/libcanberra/Makefile:1.55
--- pkgsrc/audio/libcanberra/Makefile:1.54 Thu Aug 11 05:08:02 2022
+++ pkgsrc/audio/libcanberra/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2022/08/11 05:08:02 gutteridge Exp $
+# $NetBSD: Makefile,v 1.55 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= libcanberra-0.30
PKGREVISION= 7
@@ -20,6 +20,10 @@ PKGCONFIG_OVERRIDE+= libcanberra-gtk.pc.
PKGCONFIG_OVERRIDE+= libcanberra-gtk3.pc.in
PKGCONFIG_OVERRIDE+= libcanberra.pc.in
+# configure test is broken
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+
REPLACE_SH= src/libcanberra-logout-sound.sh.in
PLIST_VARS+= oss
Index: pkgsrc/audio/ykchorus/Makefile
diff -u pkgsrc/audio/ykchorus/Makefile:1.5 pkgsrc/audio/ykchorus/Makefile:1.6
--- pkgsrc/audio/ykchorus/Makefile:1.5 Sun Sep 11 12:51:24 2022
+++ pkgsrc/audio/ykchorus/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/09/11 12:51:24 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= ykchorus-v0.2.2-source
PKGNAME= ${DISTNAME:S/-source//1:S/-v/-/1}
@@ -20,6 +20,10 @@ USE_LANGUAGES= c c++
# C++0x
GCC_REQD+= 4.7
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O1
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
Index: pkgsrc/audio/zam-plugins/Makefile
diff -u pkgsrc/audio/zam-plugins/Makefile:1.2 pkgsrc/audio/zam-plugins/Makefile:1.3
--- pkgsrc/audio/zam-plugins/Makefile:1.2 Sun Sep 11 12:51:24 2022
+++ pkgsrc/audio/zam-plugins/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/09/11 12:51:24 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= zam-plugins-3.14
PKGREVISION= 1
@@ -18,6 +18,10 @@ USE_LANGUAGES= c c++
REPLACE_SH+= dpf/utils/generate-ttl.sh
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O1
+
.include "options.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
Index: pkgsrc/chat/pidgin-latex/Makefile
diff -u pkgsrc/chat/pidgin-latex/Makefile:1.64 pkgsrc/chat/pidgin-latex/Makefile:1.65
--- pkgsrc/chat/pidgin-latex/Makefile:1.64 Mon Apr 18 19:10:31 2022
+++ pkgsrc/chat/pidgin-latex/Makefile Mon Nov 21 18:20:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2022/04/18 19:10:31 adam Exp $
+# $NetBSD: Makefile,v 1.65 2022/11/21 18:20:40 jperkin Exp $
DISTNAME= pidgin-latex-1.2.1
PKGREVISION= 55
@@ -21,6 +21,8 @@ DEPENDS+= tex-latex-bin-[0-9]*:../../pri
USE_TOOLS+= gmake
USE_TOOLS+= pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
INSTALLATION_DIRS= lib/pidgin share/doc/pidgin-latex
do-install:
Index: pkgsrc/databases/mysql80-client/Makefile.common
diff -u pkgsrc/databases/mysql80-client/Makefile.common:1.4 pkgsrc/databases/mysql80-client/Makefile.common:1.5
--- pkgsrc/databases/mysql80-client/Makefile.common:1.4 Wed Nov 2 21:17:32 2022
+++ pkgsrc/databases/mysql80-client/Makefile.common Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2022/11/02 21:17:32 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.5 2022/11/21 18:20:41 jperkin Exp $
#
# used by databases/mysql80-client/Makefile
# used by databases/mysql80-server/Makefile
@@ -95,6 +95,8 @@ CMAKE_ARGS.SunOS+= -DFORCE_UNSUPPORTED_C
# explicitly disable epoll support as it is Linux-specific.
CMAKE_ARGS.SunOS+= -DHAVE_EPOLL=NO
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysqlrouter
Index: pkgsrc/databases/pgpool2/Makefile
diff -u pkgsrc/databases/pgpool2/Makefile:1.11 pkgsrc/databases/pgpool2/Makefile:1.12
--- pkgsrc/databases/pgpool2/Makefile:1.11 Wed Aug 17 17:05:14 2022
+++ pkgsrc/databases/pgpool2/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/08/17 17:05:14 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2022/11/21 18:20:41 jperkin Exp $
DISTNAME= pgpool-II-4.3.2
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME:S/-II/2/}
@@ -17,6 +17,9 @@ USE_TOOLS+= bash:run gmake
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
GNU_CONFIGURE= yes
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--enable-new-dtags
+
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
Index: pkgsrc/databases/vsqlite++/Makefile
diff -u pkgsrc/databases/vsqlite++/Makefile:1.21 pkgsrc/databases/vsqlite++/Makefile:1.22
--- pkgsrc/databases/vsqlite++/Makefile:1.21 Mon Apr 18 19:09:43 2022
+++ pkgsrc/databases/vsqlite++/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/04/18 19:09:43 adam Exp $
+# $NetBSD: Makefile,v 1.22 2022/11/21 18:20:41 jperkin Exp $
DISTNAME= vsqlite++-0.3.13
PKGREVISION= 17
@@ -14,6 +14,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/devhelp/Makefile
diff -u pkgsrc/devel/devhelp/Makefile:1.147 pkgsrc/devel/devhelp/Makefile:1.148
--- pkgsrc/devel/devhelp/Makefile:1.147 Thu Aug 11 05:08:08 2022
+++ pkgsrc/devel/devhelp/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.147 2022/08/11 05:08:08 gutteridge Exp $
+# $NetBSD: Makefile,v 1.148 2022/11/21 18:20:41 jperkin Exp $
DISTNAME= devhelp-3.34.0
PKGREVISION= 11
@@ -17,6 +17,9 @@ USE_TOOLS+= pkg-config msgfmt xgettext i
# https://gitlab.gnome.org/GNOME/json-glib/issues/35
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/devhelp
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,${WRKSRC}/devhelp/symbol.map
+
PYTHON_FOR_BUILD_ONLY= tool
PKGCONFIG_OVERRIDE_STAGE= pre-install
Index: pkgsrc/devel/woboq_codebrowser/Makefile
diff -u pkgsrc/devel/woboq_codebrowser/Makefile:1.13 pkgsrc/devel/woboq_codebrowser/Makefile:1.14
--- pkgsrc/devel/woboq_codebrowser/Makefile:1.13 Wed Nov 9 13:14:10 2022
+++ pkgsrc/devel/woboq_codebrowser/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/11/09 13:14:10 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2022/11/21 18:20:41 jperkin Exp $
DISTNAME= codebrowser-2.1.20220614
PKGNAME= woboq_${DISTNAME}
@@ -17,5 +17,7 @@ CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
WRKSRC= ${WRKDIR}/codebrowser-${GITHUB_TAG}
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../lang/clang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/editors/codelite/Makefile
diff -u pkgsrc/editors/codelite/Makefile:1.46 pkgsrc/editors/codelite/Makefile:1.47
--- pkgsrc/editors/codelite/Makefile:1.46 Mon Oct 17 16:50:03 2022
+++ pkgsrc/editors/codelite/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2022/10/17 16:50:03 andvar Exp $
+# $NetBSD: Makefile,v 1.47 2022/11/21 18:20:41 jperkin Exp $
DISTNAME= codelite-16.0
GITHUB_TAG= 16.0.0-1
@@ -67,6 +67,8 @@ LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX
BUILDLINK_TRANSFORM+= opt:-std=c++11:-std=gnu++11 # alloca
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--disable-new-dtags
+
.include "../../lang/nodejs/application.mk"
.include "../../lang/nodejs/buildlink3.mk"
.include "../../lang/python/application.mk"
Index: pkgsrc/editors/scite/Makefile
diff -u pkgsrc/editors/scite/Makefile:1.40 pkgsrc/editors/scite/Makefile:1.41
--- pkgsrc/editors/scite/Makefile:1.40 Wed Dec 8 16:04:12 2021
+++ pkgsrc/editors/scite/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2021/12/08 16:04:12 adam Exp $
+# $NetBSD: Makefile,v 1.41 2022/11/21 18:20:41 jperkin Exp $
#
DISTNAME= scite339
@@ -20,6 +20,7 @@ USE_TOOLS+= gmake pkg-config
MAKE_FILE= makefile
INSTALLATION_DIRS= share/applications share/pixmaps
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=lua.vers
post-extract:
Index: pkgsrc/games/doomlegacy/Makefile
diff -u pkgsrc/games/doomlegacy/Makefile:1.13 pkgsrc/games/doomlegacy/Makefile:1.14
--- pkgsrc/games/doomlegacy/Makefile:1.13 Mon Jan 17 15:10:15 2022
+++ pkgsrc/games/doomlegacy/Makefile Mon Nov 21 18:20:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/01/17 15:10:15 micha Exp $
+# $NetBSD: Makefile,v 1.14 2022/11/21 18:20:41 jperkin Exp $
VERS= 1.48.10
PKGNAME= doomlegacy-${VERS}
@@ -48,6 +48,8 @@ CFLAGS+= -D__BIG_ENDIAN__
CFLAGS+= -DHAVE_ZLIB
LDFLAGS+= -lz
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--warn-common
+
# No longer matches automatically since SVN revision was appended to distfile
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/-/_/}_source
Index: pkgsrc/games/klavaro/Makefile
diff -u pkgsrc/games/klavaro/Makefile:1.40 pkgsrc/games/klavaro/Makefile:1.41
--- pkgsrc/games/klavaro/Makefile:1.40 Wed Oct 26 10:31:27 2022
+++ pkgsrc/games/klavaro/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2022/10/26 10:31:27 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= klavaro-3.13
PKGREVISION= 2
@@ -15,6 +15,8 @@ GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gettext gmake intltool pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/gtkdatabox/buildlink3.mk"
Index: pkgsrc/games/libretro-nxengine/Makefile
diff -u pkgsrc/games/libretro-nxengine/Makefile:1.6 pkgsrc/games/libretro-nxengine/Makefile:1.7
--- pkgsrc/games/libretro-nxengine/Makefile:1.6 Sun May 31 16:22:35 2020
+++ pkgsrc/games/libretro-nxengine/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/05/31 16:22:35 nia Exp $
+# $NetBSD: Makefile,v 1.7 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= libretro-nxengine-20200109
CATEGORIES= games
@@ -20,6 +20,7 @@ MAKE_FLAGS+= SINGLE_PRECISION_FLOATS=1
MAKE_FLAGS+= MIN_AUDIO_PROCESSING_PER_FRAME=1
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=nxengine/libretro/link.T
.include "../../emulators/retroarch/core.mk"
Index: pkgsrc/games/pioneers/Makefile
diff -u pkgsrc/games/pioneers/Makefile:1.77 pkgsrc/games/pioneers/Makefile:1.78
--- pkgsrc/games/pioneers/Makefile:1.77 Thu Aug 11 05:08:34 2022
+++ pkgsrc/games/pioneers/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2022/08/11 05:08:34 gutteridge Exp $
+# $NetBSD: Makefile,v 1.78 2022/11/21 18:20:42 jperkin Exp $
#
DISTNAME= pioneers-15.6
@@ -16,6 +16,8 @@ USE_TOOLS+= gmake pkg-config msgfmt int
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
BUILDLINK_DEPMETHOD.librsvg= build # generates icons
SUBST_CLASSES+= paths
Index: pkgsrc/games/stockfish/Makefile
diff -u pkgsrc/games/stockfish/Makefile:1.3 pkgsrc/games/stockfish/Makefile:1.4
--- pkgsrc/games/stockfish/Makefile:1.3 Sat Sep 17 17:25:54 2022
+++ pkgsrc/games/stockfish/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/09/17 17:25:54 he Exp $
+# $NetBSD: Makefile,v 1.4 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= stockfish-9-src
PKGNAME= ${DISTNAME:S/-src//}
@@ -18,6 +18,7 @@ USE_TOOLS+= gmake
INSTALLATION_DIRS= bin share/doc/stockfish
BUILDLINK_TRANSFORM.NetBSD+= rm:-flto rm:-m32
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${DESTDIR}${PREFIX}/bin
Index: pkgsrc/graphics/charls/Makefile
diff -u pkgsrc/graphics/charls/Makefile:1.3 pkgsrc/graphics/charls/Makefile:1.4
--- pkgsrc/graphics/charls/Makefile:1.3 Sat Nov 12 18:59:20 2022
+++ pkgsrc/graphics/charls/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/11/12 18:59:20 nros Exp $
+# $NetBSD: Makefile,v 1.4 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= charls-2.3.4
CATEGORIES= graphics
@@ -15,6 +15,8 @@ USE_LANGUAGES= c c++
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/src/charls.version
+
PKGCONFIG_OVERRIDE= src/charls-template.pc
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/gthumb/Makefile
diff -u pkgsrc/graphics/gthumb/Makefile:1.106 pkgsrc/graphics/gthumb/Makefile:1.107
--- pkgsrc/graphics/gthumb/Makefile:1.106 Thu Jul 14 23:46:22 2022
+++ pkgsrc/graphics/gthumb/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2022/07/14 23:46:22 dholland Exp $
+# $NetBSD: Makefile,v 1.107 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= gthumb-2.14.4
PKGREVISION= 33
@@ -26,6 +26,8 @@ GCONF_SCHEMAS+= gthumb_photo_importer.sc
GCONF_SCHEMAS+= gthumb_resize_images.schemas gthumb_resize_options.schemas
GCONF_SCHEMAS+= gthumb_webalbums.schemas
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
Index: pkgsrc/graphics/gthumb3/Makefile
diff -u pkgsrc/graphics/gthumb3/Makefile:1.38 pkgsrc/graphics/gthumb3/Makefile:1.39
--- pkgsrc/graphics/gthumb3/Makefile:1.38 Thu Aug 11 05:08:42 2022
+++ pkgsrc/graphics/gthumb3/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2022/08/11 05:08:42 gutteridge Exp $
+# $NetBSD: Makefile,v 1.39 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= gthumb-3.0.2
PKGREVISION= 34
@@ -21,6 +21,8 @@ GNU_CONFIGURE= yes
# gthumb will use an external "dcraw" program if available
CONFIGURE_ARGS+= --disable-libopenraw
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../devel/glib2/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libgphoto2/buildlink3.mk"
Index: pkgsrc/graphics/libbpg/Makefile
diff -u pkgsrc/graphics/libbpg/Makefile:1.4 pkgsrc/graphics/libbpg/Makefile:1.5
--- pkgsrc/graphics/libbpg/Makefile:1.4 Sat Nov 2 22:37:59 2019
+++ pkgsrc/graphics/libbpg/Makefile Mon Nov 21 18:20:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/11/02 22:37:59 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= libbpg-0.9.2
CATEGORIES= graphics
@@ -20,9 +20,10 @@ SUBST_STAGE.config= pre-configure
SUBST_FILES.config= config.h
SUBST_VARS.config= PREFIX
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
-
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/libhighway/Makefile
diff -u pkgsrc/graphics/libhighway/Makefile:1.2 pkgsrc/graphics/libhighway/Makefile:1.3
--- pkgsrc/graphics/libhighway/Makefile:1.2 Fri Oct 7 11:15:54 2022
+++ pkgsrc/graphics/libhighway/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/10/07 11:15:54 nros Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/21 18:20:43 jperkin Exp $
DISTNAME= highway-1.0.1
PKGNAME= lib${DISTNAME}
@@ -23,6 +23,8 @@ PKGCONFIG_OVERRIDE+= libhwy-contrib.pc.i
PKGCONFIG_OVERRIDE+= libhwy-test.pc.in
PKGCONFIG_OVERRIDE+= libhwy.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/hwy/hwy.version
+
# libhighway run executables during build and
# they need to find its own shared libs
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
Index: pkgsrc/graphics/opencv/Makefile.common
diff -u pkgsrc/graphics/opencv/Makefile.common:1.14 pkgsrc/graphics/opencv/Makefile.common:1.15
--- pkgsrc/graphics/opencv/Makefile.common:1.14 Mon Aug 22 08:17:30 2022
+++ pkgsrc/graphics/opencv/Makefile.common Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2022/08/22 08:17:30 markd Exp $
+# $NetBSD: Makefile.common,v 1.15 2022/11/21 18:20:43 jperkin Exp $
# used by graphics/opencv/Makefile
# used by graphics/opencv-contrib-face/Makefile
#
@@ -38,6 +38,9 @@ CMAKE_ARGS.SunOS+= -DOPENCV_PYTHON_SKIP_
BUILDLINK_TRANSFORM+= rm:-Werror=non-virtual-dtor
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
Index: pkgsrc/ham/xnec2c/Makefile
diff -u pkgsrc/ham/xnec2c/Makefile:1.28 pkgsrc/ham/xnec2c/Makefile:1.29
--- pkgsrc/ham/xnec2c/Makefile:1.28 Thu Aug 11 05:08:50 2022
+++ pkgsrc/ham/xnec2c/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2022/08/11 05:08:50 gutteridge Exp $
+# $NetBSD: Makefile,v 1.29 2022/11/21 18:20:43 jperkin Exp $
DISTNAME= xnec2c-4.1.5
PKGREVISION= 2
@@ -15,6 +15,9 @@ GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= intltool msgfmt pax pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
INSTALLATION_DIRS= share/doc/xnec2c
post-install:
Index: pkgsrc/lang/pfe/Makefile
diff -u pkgsrc/lang/pfe/Makefile:1.25 pkgsrc/lang/pfe/Makefile:1.26
--- pkgsrc/lang/pfe/Makefile:1.25 Tue Jun 28 11:34:15 2022
+++ pkgsrc/lang/pfe/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2022/06/28 11:34:15 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2022/11/21 18:20:43 jperkin Exp $
DISTNAME= pfe-0.33.71
PKGREVISION= 16
@@ -26,6 +26,8 @@ TEST_TARGET= tests
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto # documentation
PYTHON_FOR_BUILD_ONLY= tool
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--warn-common
+
.include "../../lang/python/pyversion.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/claws-mail/Makefile.common
diff -u pkgsrc/mail/claws-mail/Makefile.common:1.24 pkgsrc/mail/claws-mail/Makefile.common:1.25
--- pkgsrc/mail/claws-mail/Makefile.common:1.24 Tue Jul 13 12:35:09 2021
+++ pkgsrc/mail/claws-mail/Makefile.common Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2021/07/13 12:35:09 nia Exp $
+# $NetBSD: Makefile.common,v 1.25 2022/11/21 18:20:43 jperkin Exp $
# used by mail/claws-mail/plugins.mk
@@ -62,6 +62,8 @@ CONFIGURE_ARGS+= --disable-tnef_parse-pl
CONFIGURE_ARGS+= --disable-perl-plugin
CONFIGURE_ARGS+= --disable-vcalendar-plugin
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../mail/libetpan/buildlink3.mk"
#.include "../../net/libsoup/buildlink3.mk"
Index: pkgsrc/mail/mail-notification/Makefile
diff -u pkgsrc/mail/mail-notification/Makefile:1.115 pkgsrc/mail/mail-notification/Makefile:1.116
--- pkgsrc/mail/mail-notification/Makefile:1.115 Thu Aug 11 05:08:58 2022
+++ pkgsrc/mail/mail-notification/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2022/08/11 05:08:58 gutteridge Exp $
+# $NetBSD: Makefile,v 1.116 2022/11/21 18:20:43 jperkin Exp $
#
DISTNAME= mail-notification-5.4
@@ -23,6 +23,8 @@ CONFIGURE_ARGS+= cc="${CC}" cflags="${CF
CONFIGURE_ARGS+= localedir="${PREFIX}/${PKGLOCALEDIR}/locale"
CONFIGURE_ENV+= jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
GCONF_SCHEMAS= mail-notification.schemas
CONFIGURE_ARGS+= evolution=no
Index: pkgsrc/math/libixion/Makefile.common
diff -u pkgsrc/math/libixion/Makefile.common:1.5 pkgsrc/math/libixion/Makefile.common:1.6
--- pkgsrc/math/libixion/Makefile.common:1.5 Sat Feb 5 04:28:11 2022
+++ pkgsrc/math/libixion/Makefile.common Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2022/02/05 04:28:11 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.6 2022/11/21 18:20:43 jperkin Exp $
#
# used by math/libixion/Makefile
# used by math/py-libixion/Makefile
@@ -22,6 +22,7 @@ USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++17
BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
PTHREAD_AUTO_VARS= yes
Index: pkgsrc/misc/yelp3/Makefile
diff -u pkgsrc/misc/yelp3/Makefile:1.82 pkgsrc/misc/yelp3/Makefile:1.83
--- pkgsrc/misc/yelp3/Makefile:1.82 Thu Aug 11 05:09:04 2022
+++ pkgsrc/misc/yelp3/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.82 2022/08/11 05:09:04 gutteridge Exp $
+# $NetBSD: Makefile,v 1.83 2022/11/21 18:20:43 jperkin Exp $
DISTNAME= yelp-3.32.0
PKGREVISION= 13
@@ -20,6 +20,8 @@ BUILDLINK_API_DEPENDS.glib2+= glib2>=2.3
BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.13.3
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.4
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/glib2/schemas.mk"
Index: pkgsrc/multimedia/libva/Makefile
diff -u pkgsrc/multimedia/libva/Makefile:1.27 pkgsrc/multimedia/libva/Makefile:1.28
--- pkgsrc/multimedia/libva/Makefile:1.27 Thu Jul 14 13:16:11 2022
+++ pkgsrc/multimedia/libva/Makefile Mon Nov 21 18:20:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2022/07/14 13:16:11 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2022/11/21 18:20:43 jperkin Exp $
DISTNAME= libva-2.15.0
CATEGORIES= multimedia
@@ -44,6 +44,8 @@ PKGCONFIG_OVERRIDE+= pkgconfig/libva-way
PKGCONFIG_OVERRIDE+= pkgconfig/libva-x11.pc.in
PKGCONFIG_OVERRIDE+= pkgconfig/libva.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,./libva.syms
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
Index: pkgsrc/net/gupnp-dlna/Makefile
diff -u pkgsrc/net/gupnp-dlna/Makefile:1.38 pkgsrc/net/gupnp-dlna/Makefile:1.39
--- pkgsrc/net/gupnp-dlna/Makefile:1.38 Fri Jul 22 17:07:14 2022
+++ pkgsrc/net/gupnp-dlna/Makefile Mon Nov 21 18:20:44 2022
@@ -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.i
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"
Index: pkgsrc/net/ser/Makefile
diff -u pkgsrc/net/ser/Makefile:1.9 pkgsrc/net/ser/Makefile:1.10
--- pkgsrc/net/ser/Makefile:1.9 Wed Jun 23 20:33:15 2021
+++ pkgsrc/net/ser/Makefile Mon Nov 21 18:20:44 2022
@@ -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/ex
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}
Index: pkgsrc/security/libgfshare/Makefile
diff -u pkgsrc/security/libgfshare/Makefile:1.2 pkgsrc/security/libgfshare/Makefile:1.3
--- pkgsrc/security/libgfshare/Makefile:1.2 Mon Jul 25 11:12:27 2022
+++ pkgsrc/security/libgfshare/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/07/25 11:12:27 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= libgfshare-1.0.5
CATEGORIES= security
@@ -14,4 +14,6 @@ USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O1
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/polkit/Makefile
diff -u pkgsrc/security/polkit/Makefile:1.46 pkgsrc/security/polkit/Makefile:1.47
--- pkgsrc/security/polkit/Makefile:1.46 Tue Aug 9 12:08:30 2022
+++ pkgsrc/security/polkit/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2022/08/09 12:08:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.47 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= polkit-0.120
PKGREVISION= 4
@@ -41,6 +41,8 @@ CONFIGURE_ARGS+= --disable-libelogind
CONFIGURE_ARGS+= --with-duktape
CONFIGURE_ARGS+= --enable-introspection
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../mk/bsd.prefs.mk"
POLKITD_USER?= polkitd
Index: pkgsrc/security/signify/Makefile
diff -u pkgsrc/security/signify/Makefile:1.2 pkgsrc/security/signify/Makefile:1.3
--- pkgsrc/security/signify/Makefile:1.2 Sat Nov 5 16:16:21 2022
+++ pkgsrc/security/signify/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/11/05 16:16:21 pin Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= outils-0.12
PKGNAME= ${DISTNAME:S,outils,signify,}
@@ -41,6 +41,8 @@ SUBST_FILES.ints+= ${LIBSRCDIR}/include/
SUBST_SED.ints= -e 's|u_int|uint|g'
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
LIBS.SunOS+= -lresolv -lrt
post-patch:
Index: pkgsrc/sysutils/eggdbus/Makefile
diff -u pkgsrc/sysutils/eggdbus/Makefile:1.11 pkgsrc/sysutils/eggdbus/Makefile:1.12
--- pkgsrc/sysutils/eggdbus/Makefile:1.11 Wed Dec 8 16:02:38 2021
+++ pkgsrc/sysutils/eggdbus/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/12/08 16:02:38 adam Exp $
+# $NetBSD: Makefile,v 1.12 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= eggdbus-0.6
PKGREVISION= 6
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
TEST_TARGET= check
PKGCONFIG_OVERRIDE+= eggdbus-1.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
pre-configure:
set -e; cd ${WRKSRC}; gtkdocize --flavour no-tmpl; \
libtoolize -c -f; \
Index: pkgsrc/sysutils/gkrellm/Makefile
diff -u pkgsrc/sysutils/gkrellm/Makefile:1.110 pkgsrc/sysutils/gkrellm/Makefile:1.111
--- pkgsrc/sysutils/gkrellm/Makefile:1.110 Wed Oct 26 10:31:08 2022
+++ pkgsrc/sysutils/gkrellm/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2022/10/26 10:31:08 wiz Exp $
+# $NetBSD: Makefile,v 1.111 2022/11/21 18:20:44 jperkin Exp $
.include "Makefile.common"
PKGREVISION= 48
@@ -35,7 +35,7 @@ INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${
INSTALL_MAKE_FLAGS+= SMANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
# Fix PR pkg/40047, Thanks to Ondrej Tuma
-.if ${OBJECT_FMT} == "ELF"
+.if ${OBJECT_FMT} == "ELF" && ${OPSYS} != "SunOS"
LDFLAGS+= -Wl,-export-dynamic
.endif
Index: pkgsrc/sysutils/grun/Makefile
diff -u pkgsrc/sysutils/grun/Makefile:1.55 pkgsrc/sysutils/grun/Makefile:1.56
--- pkgsrc/sysutils/grun/Makefile:1.55 Wed Dec 8 16:06:30 2021
+++ pkgsrc/sysutils/grun/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2021/12/08 16:06:30 adam Exp $
+# $NetBSD: Makefile,v 1.56 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= grun-0.9.3
PKGREVISION= 33
@@ -19,6 +19,8 @@ CONF_FILES= ${EGDIR}/gassoc ${PKG_SYSCO
CONF_FILES+= ${EGDIR}/consfile ${PKG_SYSCONFDIR}/consfile
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/grun
post-install:
Index: pkgsrc/sysutils/libdevkit-gobject/Makefile
diff -u pkgsrc/sysutils/libdevkit-gobject/Makefile:1.17 pkgsrc/sysutils/libdevkit-gobject/Makefile:1.18
--- pkgsrc/sysutils/libdevkit-gobject/Makefile:1.17 Mon Apr 18 19:12:06 2022
+++ pkgsrc/sysutils/libdevkit-gobject/Makefile Mon Nov 21 18:20:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/04/18 19:12:06 adam Exp $
+# $NetBSD: Makefile,v 1.18 2022/11/21 18:20:44 jperkin Exp $
DISTNAME= DeviceKit-003
PKGNAME= ${DISTNAME:S/DeviceKit/libdevkit-gobject/}
@@ -26,6 +26,8 @@ USE_TOOLS+= autoconf automake pkg-config
CONFIGURE_ARGS+= --disable-devkitd
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
PKGCONFIG_OVERRIDE+= src/devkit-gobject/devkit-gobject.pc.in
pre-configure:
Index: pkgsrc/sysutils/libgksu/Makefile
diff -u pkgsrc/sysutils/libgksu/Makefile:1.50 pkgsrc/sysutils/libgksu/Makefile:1.51
--- pkgsrc/sysutils/libgksu/Makefile:1.50 Wed Dec 8 16:02:39 2021
+++ pkgsrc/sysutils/libgksu/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2021/12/08 16:02:39 adam Exp $
+# $NetBSD: Makefile,v 1.51 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= libgksu-2.0.12
PKGREVISION= 17
@@ -19,6 +19,8 @@ MAKE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREF
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool pkg-config msgfmt
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O1
+
GCONF_SCHEMAS+= gksu.schemas
PKGCONFIG_OVERRIDE+= libgksu/libgksu2.pc.in
Index: pkgsrc/textproc/odt2tex/Makefile
diff -u pkgsrc/textproc/odt2tex/Makefile:1.16 pkgsrc/textproc/odt2tex/Makefile:1.17
--- pkgsrc/textproc/odt2tex/Makefile:1.16 Wed Oct 26 10:32:02 2022
+++ pkgsrc/textproc/odt2tex/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/10/26 10:32:02 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= odt2tex-0.0.13
PKGREVISION= 12
@@ -13,6 +13,8 @@ LICENSE= mit
USE_LANGUAGES= c99
USE_TOOLS+= pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O2
+
.include "../../archivers/libzip/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/wm/icewm/Makefile.common
diff -u pkgsrc/wm/icewm/Makefile.common:1.74 pkgsrc/wm/icewm/Makefile.common:1.75
--- pkgsrc/wm/icewm/Makefile.common:1.74 Tue Aug 9 12:08:31 2022
+++ pkgsrc/wm/icewm/Makefile.common Mon Nov 21 18:20:45 2022
@@ -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) || \
Index: pkgsrc/wm/icewm14/Makefile
diff -u pkgsrc/wm/icewm14/Makefile:1.8 pkgsrc/wm/icewm14/Makefile:1.9
--- pkgsrc/wm/icewm14/Makefile:1.8 Wed Dec 8 16:06:51 2021
+++ pkgsrc/wm/icewm14/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2021/12/08 16:06:51 adam Exp $
+# $NetBSD: Makefile,v 1.9 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= icewm-1.4.2
PKGREVISION= 5
@@ -23,6 +23,8 @@ USE_TOOLS+= msgfmt pkg-config
LDFLAGS.SunOS+= -lsocket -lnsl
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
CMAKE_ARGS.NetBSD+= -DCMAKE_CXX_FLAGS="-DHAVE_SYSCTL_CP_TIME"
post-extract:
Index: pkgsrc/wm/notion/Makefile
diff -u pkgsrc/wm/notion/Makefile:1.28 pkgsrc/wm/notion/Makefile:1.29
--- pkgsrc/wm/notion/Makefile:1.28 Tue Jun 30 14:56:36 2020
+++ pkgsrc/wm/notion/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2020/06/30 14:56:36 nia Exp $
+# $NetBSD: Makefile,v 1.29 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= notion-3-2017050501
PKGNAME= ${DISTNAME:S/3-/3./}
@@ -66,8 +66,9 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONF
# Abuse buildlink to add required libraries.
BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--as-needed:-lsocket
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-whole-archive
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-whole-archive
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-whole-archive
post-install:
cd ${WRKSRC} && pax -rw contrib ${DESTDIR}${EGDIR}
Index: pkgsrc/www/libproxy/Makefile
diff -u pkgsrc/www/libproxy/Makefile:1.34 pkgsrc/www/libproxy/Makefile:1.35
--- pkgsrc/www/libproxy/Makefile:1.34 Tue Sep 22 18:22:59 2020
+++ pkgsrc/www/libproxy/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2020/09/22 18:22:59 bsiegert Exp $
+# $NetBSD: Makefile,v 1.35 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= libproxy-0.4.15
PKGREVISION= 1
@@ -27,6 +27,8 @@ CMAKE_ARGS+= -DWITH_KDE:BOOL=OFF
CMAKE_ARGS.SunOS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
CMAKE_ARGS.SunOS+= -DCMAKE_SHARED_LINKER_FLAGS:STRING="-lnsl -lsocket -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
PKGCONFIG_OVERRIDE+= bindings/csharp/libproxy-sharp-1.0.pc.cmake
PKGCONFIG_OVERRIDE+= libproxy/libproxy-1.0.pc.in
Index: pkgsrc/www/luakit/Makefile
diff -u pkgsrc/www/luakit/Makefile:1.15 pkgsrc/www/luakit/Makefile:1.16
--- pkgsrc/www/luakit/Makefile:1.15 Tue Nov 15 22:48:32 2022
+++ pkgsrc/www/luakit/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2022/11/15 22:48:32 nia Exp $
+# $NetBSD: Makefile,v 1.16 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= luakit-2.3.1
CATEGORIES= www lua
@@ -21,6 +21,8 @@ MAKE_FLAGS+= VERSION=${PKGVERSION}
LDFLAGS.SunOS+= -lm -lsocket
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
LUA_VERSIONS_ACCEPTED= 51
.include "../../lang/lua/luaversion.mk"
Index: pkgsrc/www/uhttpmock/Makefile
diff -u pkgsrc/www/uhttpmock/Makefile:1.36 pkgsrc/www/uhttpmock/Makefile:1.37
--- pkgsrc/www/uhttpmock/Makefile:1.36 Fri Jul 22 17:07:15 2022
+++ pkgsrc/www/uhttpmock/Makefile Mon Nov 21 18:20:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2022/07/22 17:07:15 micha Exp $
+# $NetBSD: Makefile,v 1.37 2022/11/21 18:20:45 jperkin Exp $
DISTNAME= uhttpmock-0.4.0
PKGREVISION= 35
@@ -17,6 +17,8 @@ USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= libuhttpmock/libuhttpmock.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../lang/vala/buildlink3.mk"
Index: pkgsrc/x11/clipit/Makefile
diff -u pkgsrc/x11/clipit/Makefile:1.29 pkgsrc/x11/clipit/Makefile:1.30
--- pkgsrc/x11/clipit/Makefile:1.29 Thu Aug 11 05:09:24 2022
+++ pkgsrc/x11/clipit/Makefile Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2022/08/11 05:09:24 gutteridge Exp $
+# $NetBSD: Makefile,v 1.30 2022/11/21 18:20:46 jperkin Exp $
DISTNAME= clipit-1.4.5
PKGREVISION= 2
@@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSC
CONFIGURE_ARGS+= --disable-glibtest
CONFIGURE_ARGS+= --with-gtk3
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
BUILD_DEFS+= PKG_SYSCONFBASE
EGDIR= ${PREFIX}/share/examples/clipit
Index: pkgsrc/x11/gtk4/Makefile
diff -u pkgsrc/x11/gtk4/Makefile:1.20 pkgsrc/x11/gtk4/Makefile:1.21
--- pkgsrc/x11/gtk4/Makefile:1.20 Wed Oct 26 10:32:07 2022
+++ pkgsrc/x11/gtk4/Makefile Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2022/10/26 10:32:07 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/11/21 18:20:46 jperkin Exp $
DISTNAME= gtk-4.8.1
PKGNAME= ${DISTNAME:S/gtk/gtk4/}
@@ -36,6 +36,8 @@ PKGCONFIG_OVERRIDE+= output/meson-privat
PKGCONFIG_OVERRIDE_STAGE= post-configure
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
PLIST_VARS+= dylib no-dylib
.if ${SHLIB_TYPE} == "dylib"
PLIST.dylib= yes
Index: pkgsrc/x11/hsetroot/Makefile
diff -u pkgsrc/x11/hsetroot/Makefile:1.27 pkgsrc/x11/hsetroot/Makefile:1.28
--- pkgsrc/x11/hsetroot/Makefile:1.27 Mon May 18 10:26:25 2020
+++ pkgsrc/x11/hsetroot/Makefile Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2020/05/18 10:26:25 nia Exp $
+# $NetBSD: Makefile,v 1.28 2022/11/21 18:20:46 jperkin Exp $
DISTNAME= hsetroot-1.0.5
CATEGORIES= x11
@@ -11,6 +11,8 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-as-needed
+
INSTALLATION_DIRS+= bin
do-install:
Index: pkgsrc/x11/qt4-libs/Makefile.common
diff -u pkgsrc/x11/qt4-libs/Makefile.common:1.53 pkgsrc/x11/qt4-libs/Makefile.common:1.54
--- pkgsrc/x11/qt4-libs/Makefile.common:1.53 Sat May 2 13:53:09 2020
+++ pkgsrc/x11/qt4-libs/Makefile.common Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.53 2020/05/02 13:53:09 rillig Exp $
+# $NetBSD: Makefile.common,v 1.54 2022/11/21 18:20:46 jperkin Exp $
# used by x11/qt4-docs/Makefile
# used by x11/qt4-libs/Makefile
# used by x11/qt4-mng/Makefile
@@ -148,6 +148,8 @@ SUBST_SED.lt+= -e 's,$$$${first(QMAKE_E
CXXFLAGS+= -DQ_INLINE_TEMPLATES=inline
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
+
# Remove files with portability issues, thereby ~proving they are not used in the build.
post-extract:
rm ${WRKSRC}/src/3rdparty/webkit/Source/JavaScriptCore/gyp/generate-dtrace-header.sh
Index: pkgsrc/x11/xcb-imdkit/Makefile
diff -u pkgsrc/x11/xcb-imdkit/Makefile:1.1 pkgsrc/x11/xcb-imdkit/Makefile:1.2
--- pkgsrc/x11/xcb-imdkit/Makefile:1.1 Mon Feb 15 15:05:55 2021
+++ pkgsrc/x11/xcb-imdkit/Makefile Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/02/15 15:05:55 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2022/11/21 18:20:46 jperkin Exp $
DISTNAME= xcb-imdkit-1.0.2
CATEGORIES= x11
@@ -18,6 +18,8 @@ USE_LANGUAGES+= c c++
PKGCONFIG_OVERRIDE+= src/xcb-imdkit.pc.in
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../devel/uthash/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcb-util/buildlink3.mk"
Index: pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile
diff -u pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile:1.45 pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile:1.46
--- pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile:1.45 Thu Aug 11 05:09:36 2022
+++ pkgsrc/x11/xfce4-whiskermenu-plugin/Makefile Mon Nov 21 18:20:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2022/08/11 05:09:36 gutteridge Exp $
+# $NetBSD: Makefile,v 1.46 2022/11/21 18:20:46 jperkin Exp $
VERSION= 2.7.1
DISTNAME= xfce4-whiskermenu-plugin-${VERSION}
@@ -16,6 +16,9 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config msgfmt perl intltool
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-O1
+
.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../x11/xfce4-garcon/buildlink3.mk"
.include "../../x11/xfce4-panel/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index