pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators emulators/libretro-*: SunOS linker fixes.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9388cc7e8321
branches: trunk
changeset: 323928:9388cc7e8321
user: nia <nia%pkgsrc.org@localhost>
date: Tue Oct 02 21:09:28 2018 +0000
description:
emulators/libretro-*: SunOS linker fixes.
libretro makefiles pass flags to the linker that aren't understood by
SunOS ld. Add BUILDLINK_TRANSFORMs to remove those flags.
diffstat:
emulators/libretro-beetle-ngp/Makefile | 6 +++++-
emulators/libretro-beetle-pce-fast/Makefile | 5 ++++-
emulators/libretro-beetle-psx/Makefile | 5 ++++-
emulators/libretro-beetle-saturn/Makefile | 5 ++++-
emulators/libretro-beetle-sgx/Makefile | 5 ++++-
emulators/libretro-beetle-vb/Makefile | 5 ++++-
emulators/libretro-beetle-wswan/Makefile | 5 ++++-
emulators/libretro-bluemsx/Makefile | 5 ++++-
emulators/libretro-bsnes-mercury/Makefile.common | 5 ++++-
emulators/libretro-desmume/Makefile | 6 +++++-
emulators/libretro-fbalpha/Makefile | 5 ++++-
emulators/libretro-freeintv/Makefile | 5 ++++-
emulators/libretro-fuse/Makefile | 5 ++++-
emulators/libretro-genesis-plus-gx/Makefile | 5 ++++-
emulators/libretro-mupen64plus/Makefile | 5 ++++-
emulators/libretro-nestopia/Makefile | 11 +++++++----
emulators/libretro-o2em/Makefile | 5 ++++-
emulators/libretro-prosystem/Makefile | 5 ++++-
emulators/libretro-snes9x2010/Makefile | 4 +++-
emulators/libretro-stella/Makefile | 5 ++++-
emulators/libretro-vba-next/Makefile | 5 ++++-
emulators/libretro-vecx/Makefile | 4 +++-
22 files changed, 91 insertions(+), 25 deletions(-)
diffs (truncated from 427 to 300 lines):
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-ngp/Makefile
--- a/emulators/libretro-beetle-ngp/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-ngp/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 00:32:25 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:28 nia Exp $
DISTNAME= libretro-beetle-ngp-20180720
CATEGORIES= emulators
@@ -22,6 +22,10 @@
.endif
BUILD_MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-pce-fast/Makefile
--- a/emulators/libretro-beetle-pce-fast/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-pce-fast/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/10 23:16:12 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:28 nia Exp $
DISTNAME= libretro-beetle-pce-fast-20180720
CATEGORIES= emulators
@@ -17,6 +17,9 @@
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
.include "../../mk/endian.mk"
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-psx/Makefile
--- a/emulators/libretro-beetle-psx/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-psx/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/09/07 09:44:49 nia Exp $
+# $NetBSD: Makefile,v 1.5 2018/10/02 21:09:28 nia Exp $
DISTNAME= libretro-beetle-psx-20180808
PKGREVISION= 2
@@ -25,6 +25,9 @@
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-saturn/Makefile
--- a/emulators/libretro-beetle-saturn/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-saturn/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/09/07 00:49:04 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-beetle-saturn-20180620
PKGREVISION= 1
@@ -22,6 +22,9 @@
# Not built by upstream's buildbot for i386, ARM, or PowerPC.
ONLY_FOR_PLATFORM= *-*-x86_64
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
.include "../../mk/endian.mk"
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-sgx/Makefile
--- a/emulators/libretro-beetle-sgx/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-sgx/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/13 00:54:25 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-beetle-sgx-20180512
CATEGORIES= emulators
@@ -24,6 +24,9 @@
CFLAGS+= -DBYTE_ORDER=BIG_ENDIAN
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-vb/Makefile
--- a/emulators/libretro-beetle-vb/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-vb/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/12 14:36:52 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-beetle-vb-20180620
CATEGORIES= emulators
@@ -23,6 +23,9 @@
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-beetle-wswan/Makefile
--- a/emulators/libretro-beetle-wswan/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-beetle-wswan/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/12 12:52:52 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-beetle-wswan-20180620
CATEGORIES= emulators
@@ -23,6 +23,9 @@
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-bluemsx/Makefile
--- a/emulators/libretro-bluemsx/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-bluemsx/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/13 16:34:07 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-bluemsx-20180811
CATEGORIES= emulators
@@ -30,6 +30,9 @@
CFLAGS+= -D_GNU_SOURCE -D_BSD_SOURCE
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-bsnes-mercury/Makefile.common
--- a/emulators/libretro-bsnes-mercury/Makefile.common Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile.common Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2018/08/13 14:37:25 nia Exp $
+# $NetBSD: Makefile.common,v 1.2 2018/10/02 21:09:29 nia Exp $
#
# used by emulators/libretro-bsnes-mercury/Makefile
# used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -23,6 +23,9 @@
MAKE_FLAGS+= compiler=${CXX:Q}
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+BUILDLINK_TRANSFORM.SunOS+= -Wl,--no-undefined
+BUILDLINK_TRANSFORM.SunOS+= -Wl,--version-script=target-libretro/link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
DISTINFO_FILE= ${.CURDIR}/../../emulators/libretro-bsnes-mercury/distinfo
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-desmume/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/09/27 20:22:26 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-desmume-20180807
CATEGORIES= emulators
@@ -33,6 +33,10 @@
.endif
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=../../frontend/libretro/link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-fbalpha/Makefile
--- a/emulators/libretro-fbalpha/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-fbalpha/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/09/06 08:13:54 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-fbalpha-0.2.97.43.20180721
CATEGORIES= emulators
@@ -24,6 +24,9 @@
MAKE_FLAGS+= ENDIANNESS_DEFINES=-DWORDS_BIGENDIAN
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=src/burner/libretro/link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-freeintv/Makefile
--- a/emulators/libretro-freeintv/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-freeintv/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/13 00:58:12 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-freeintv-20180729
CATEGORIES= emulators
@@ -21,6 +21,9 @@
CFLAGS+= -DWORDS_BIGENDIAN -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-fuse/Makefile
--- a/emulators/libretro-fuse/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-fuse/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 15:42:09 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-fuse-20180419
CATEGORIES= emulators
@@ -21,6 +21,9 @@
CFLAGS+= -DWORDS_BIGENDIAN -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=build/link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-genesis-plus-gx/Makefile
--- a/emulators/libretro-genesis-plus-gx/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-genesis-plus-gx/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/12 17:11:40 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-genesis-plus-gx-20180607
CATEGORIES= emulators
@@ -25,6 +25,9 @@
MAKE_FLAGS+= ENDIANNESS_DEFINES="-DBYTE_ORDER=BIG_ENDIAN -DCPU_IS_BIG_ENDIAN=1 -DWORDS_BIGENDIAN=1"
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./libretro/link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-mupen64plus/Makefile
--- a/emulators/libretro-mupen64plus/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-mupen64plus/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/08/16 13:25:27 nia Exp $
+# $NetBSD: Makefile,v 1.13 2018/10/02 21:09:29 nia Exp $
DISTNAME= libretro-mupen64plus-20180628
CATEGORIES= emulators
@@ -33,6 +33,9 @@
MAKE_FLAGS+= WITH_DYNAREC=
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./libretro/link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
CFLAGS.NetBSD+= -DHAVE_POSIX_MEMALIGN=1
diff -r 1a9b8bba95ac -r 9388cc7e8321 emulators/libretro-nestopia/Makefile
--- a/emulators/libretro-nestopia/Makefile Tue Oct 02 18:20:39 2018 +0000
+++ b/emulators/libretro-nestopia/Makefile Tue Oct 02 21:09:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/08/11 20:26:12 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-nestopia-1.49
CATEGORIES= emulators
@@ -16,12 +16,15 @@
USE_LANGUAGES= c c++03
USE_TOOLS+= gmake
Home |
Main Index |
Thread Index |
Old Index