pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: Re-apply SunOS linker argument removals.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f81ea24acf73
branches: trunk
changeset: 388506:f81ea24acf73
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Nov 21 18:20:40 2022 +0000
description:
*: 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:
archivers/lzlib/Makefile | 4 +++-
audio/fluidsynth/Makefile | 4 +++-
audio/libcanberra/Makefile | 6 +++++-
audio/ykchorus/Makefile | 6 +++++-
audio/zam-plugins/Makefile | 6 +++++-
chat/pidgin-latex/Makefile | 4 +++-
databases/mysql80-client/Makefile.common | 4 +++-
databases/pgpool2/Makefile | 5 ++++-
databases/vsqlite++/Makefile | 4 +++-
devel/devhelp/Makefile | 5 ++++-
devel/woboq_codebrowser/Makefile | 4 +++-
editors/codelite/Makefile | 4 +++-
editors/scite/Makefile | 3 ++-
games/doomlegacy/Makefile | 4 +++-
games/klavaro/Makefile | 4 +++-
games/libretro-nxengine/Makefile | 3 ++-
games/pioneers/Makefile | 4 +++-
games/stockfish/Makefile | 3 ++-
graphics/charls/Makefile | 4 +++-
graphics/gthumb/Makefile | 4 +++-
graphics/gthumb3/Makefile | 4 +++-
graphics/libbpg/Makefile | 5 +++--
graphics/libhighway/Makefile | 4 +++-
graphics/opencv/Makefile.common | 5 ++++-
ham/xnec2c/Makefile | 5 ++++-
lang/pfe/Makefile | 4 +++-
mail/claws-mail/Makefile.common | 4 +++-
mail/mail-notification/Makefile | 4 +++-
math/libixion/Makefile.common | 3 ++-
misc/yelp3/Makefile | 4 +++-
multimedia/libva/Makefile | 4 +++-
net/gupnp-dlna/Makefile | 4 +++-
net/ser/Makefile | 4 +++-
security/libgfshare/Makefile | 4 +++-
security/polkit/Makefile | 4 +++-
security/signify/Makefile | 4 +++-
sysutils/eggdbus/Makefile | 4 +++-
sysutils/gkrellm/Makefile | 4 ++--
sysutils/grun/Makefile | 4 +++-
sysutils/libdevkit-gobject/Makefile | 4 +++-
sysutils/libgksu/Makefile | 4 +++-
textproc/odt2tex/Makefile | 4 +++-
wm/icewm/Makefile.common | 4 +++-
wm/icewm14/Makefile | 4 +++-
wm/notion/Makefile | 5 +++--
www/libproxy/Makefile | 4 +++-
www/luakit/Makefile | 4 +++-
www/uhttpmock/Makefile | 4 +++-
x11/clipit/Makefile | 4 +++-
x11/gtk4/Makefile | 4 +++-
x11/hsetroot/Makefile | 4 +++-
x11/qt4-libs/Makefile.common | 4 +++-
x11/xcb-imdkit/Makefile | 4 +++-
x11/xfce4-whiskermenu-plugin/Makefile | 5 ++++-
54 files changed, 168 insertions(+), 57 deletions(-)
diffs (truncated from 981 to 300 lines):
diff -r 038f08762bbb -r f81ea24acf73 archivers/lzlib/Makefile
--- a/archivers/lzlib/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/archivers/lzlib/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 audio/fluidsynth/Makefile
--- a/audio/fluidsynth/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/audio/fluidsynth/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
LDFLAGS.SunOS+= -lsocket
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--as-needed
+
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
diff -r 038f08762bbb -r f81ea24acf73 audio/libcanberra/Makefile
--- a/audio/libcanberra/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/audio/libcanberra/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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-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
diff -r 038f08762bbb -r f81ea24acf73 audio/ykchorus/Makefile
--- a/audio/ykchorus/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/audio/ykchorus/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
# 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"
diff -r 038f08762bbb -r f81ea24acf73 audio/zam-plugins/Makefile
--- a/audio/zam-plugins/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/audio/zam-plugins/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 chat/pidgin-latex/Makefile
--- a/chat/pidgin-latex/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/chat/pidgin-latex/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
USE_TOOLS+= gmake
USE_TOOLS+= pkg-config
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--export-dynamic
+
INSTALLATION_DIRS= lib/pidgin share/doc/pidgin-latex
do-install:
diff -r 038f08762bbb -r f81ea24acf73 databases/mysql80-client/Makefile.common
--- a/databases/mysql80-client/Makefile.common Mon Nov 21 18:12:17 2022 +0000
+++ b/databases/mysql80-client/Makefile.common Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
# 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
diff -r 038f08762bbb -r f81ea24acf73 databases/pgpool2/Makefile
--- a/databases/pgpool2/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/databases/pgpool2/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 databases/vsqlite++/Makefile
--- a/databases/vsqlite++/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/databases/vsqlite++/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 devel/devhelp/Makefile
--- a/devel/devhelp/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/devel/devhelp/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
# 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
diff -r 038f08762bbb -r f81ea24acf73 devel/woboq_codebrowser/Makefile
--- a/devel/woboq_codebrowser/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/devel/woboq_codebrowser/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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+= -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"
diff -r 038f08762bbb -r f81ea24acf73 editors/codelite/Makefile
--- a/editors/codelite/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/editors/codelite/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 editors/scite/Makefile
--- a/editors/scite/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/editors/scite/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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:
diff -r 038f08762bbb -r f81ea24acf73 games/doomlegacy/Makefile
--- a/games/doomlegacy/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/games/doomlegacy/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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+= -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
diff -r 038f08762bbb -r f81ea24acf73 games/klavaro/Makefile
--- a/games/klavaro/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/games/klavaro/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 @@
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"
diff -r 038f08762bbb -r f81ea24acf73 games/libretro-nxengine/Makefile
--- a/games/libretro-nxengine/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/games/libretro-nxengine/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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+= 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"
diff -r 038f08762bbb -r f81ea24acf73 games/pioneers/Makefile
--- a/games/pioneers/Makefile Mon Nov 21 18:12:17 2022 +0000
+++ b/games/pioneers/Makefile Mon Nov 21 18:20:40 2022 +0000
@@ -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 $
#
Home |
Main Index |
Thread Index |
Old Index