summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-10-02 21:09:28 +0000
committernia <nia@pkgsrc.org>2018-10-02 21:09:28 +0000
commit0e2a9576dfcd4fdf2e6e395a1debe52e3b1f9f37 (patch)
tree07f00ff2660bb15baaa3ef9199678f41d088dbe0
parent538bf81a3d7d91fd5effaf9f2360f23341f25fc9 (diff)
downloadpkgsrc-0e2a9576dfcd4fdf2e6e395a1debe52e3b1f9f37.tar.gz
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.
-rw-r--r--emulators/libretro-beetle-ngp/Makefile6
-rw-r--r--emulators/libretro-beetle-pce-fast/Makefile5
-rw-r--r--emulators/libretro-beetle-psx/Makefile5
-rw-r--r--emulators/libretro-beetle-saturn/Makefile5
-rw-r--r--emulators/libretro-beetle-sgx/Makefile5
-rw-r--r--emulators/libretro-beetle-vb/Makefile5
-rw-r--r--emulators/libretro-beetle-wswan/Makefile5
-rw-r--r--emulators/libretro-bluemsx/Makefile5
-rw-r--r--emulators/libretro-bsnes-mercury/Makefile.common5
-rw-r--r--emulators/libretro-desmume/Makefile6
-rw-r--r--emulators/libretro-fbalpha/Makefile5
-rw-r--r--emulators/libretro-freeintv/Makefile5
-rw-r--r--emulators/libretro-fuse/Makefile5
-rw-r--r--emulators/libretro-genesis-plus-gx/Makefile5
-rw-r--r--emulators/libretro-mupen64plus/Makefile5
-rw-r--r--emulators/libretro-nestopia/Makefile11
-rw-r--r--emulators/libretro-o2em/Makefile5
-rw-r--r--emulators/libretro-prosystem/Makefile5
-rw-r--r--emulators/libretro-snes9x2010/Makefile4
-rw-r--r--emulators/libretro-stella/Makefile5
-rw-r--r--emulators/libretro-vba-next/Makefile5
-rw-r--r--emulators/libretro-vecx/Makefile4
22 files changed, 91 insertions, 25 deletions
diff --git a/emulators/libretro-beetle-ngp/Makefile b/emulators/libretro-beetle-ngp/Makefile
index f0cae1c058c..de6ce77626b 100644
--- a/emulators/libretro-beetle-ngp/Makefile
+++ b/emulators/libretro-beetle-ngp/Makefile
@@ -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 @@ CFLAGS+= -DMSB_FIRST
.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 --git a/emulators/libretro-beetle-pce-fast/Makefile b/emulators/libretro-beetle-pce-fast/Makefile
index cdac18e2450..a9f58a0c162 100644
--- a/emulators/libretro-beetle-pce-fast/Makefile
+++ b/emulators/libretro-beetle-pce-fast/Makefile
@@ -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 @@ USE_LANGUAGES= c c++
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 --git a/emulators/libretro-beetle-psx/Makefile b/emulators/libretro-beetle-psx/Makefile
index da279c60fdb..7e183fd32e3 100644
--- a/emulators/libretro-beetle-psx/Makefile
+++ b/emulators/libretro-beetle-psx/Makefile
@@ -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 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
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 --git a/emulators/libretro-beetle-saturn/Makefile b/emulators/libretro-beetle-saturn/Makefile
index 8ee9b385b5d..be62df29601 100644
--- a/emulators/libretro-beetle-saturn/Makefile
+++ b/emulators/libretro-beetle-saturn/Makefile
@@ -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 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
# 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 --git a/emulators/libretro-beetle-sgx/Makefile b/emulators/libretro-beetle-sgx/Makefile
index 788285c0c3f..c4fac3f2f0a 100644
--- a/emulators/libretro-beetle-sgx/Makefile
+++ b/emulators/libretro-beetle-sgx/Makefile
@@ -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+= -DMSB_FIRST
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 --git a/emulators/libretro-beetle-vb/Makefile b/emulators/libretro-beetle-vb/Makefile
index 1ff9b43d8bb..63397a74453 100644
--- a/emulators/libretro-beetle-vb/Makefile
+++ b/emulators/libretro-beetle-vb/Makefile
@@ -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 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
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 --git a/emulators/libretro-beetle-wswan/Makefile b/emulators/libretro-beetle-wswan/Makefile
index 38a0637f1ac..9990553c26f 100644
--- a/emulators/libretro-beetle-wswan/Makefile
+++ b/emulators/libretro-beetle-wswan/Makefile
@@ -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 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
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 --git a/emulators/libretro-bluemsx/Makefile b/emulators/libretro-bluemsx/Makefile
index 3fb63328639..218762e6726 100644
--- a/emulators/libretro-bluemsx/Makefile
+++ b/emulators/libretro-bluemsx/Makefile
@@ -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__EXTENSIONS__
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 --git a/emulators/libretro-bsnes-mercury/Makefile.common b/emulators/libretro-bsnes-mercury/Makefile.common
index 9113585c71d..0dcf75b1c31 100644
--- a/emulators/libretro-bsnes-mercury/Makefile.common
+++ b/emulators/libretro-bsnes-mercury/Makefile.common
@@ -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+= profile=${BSNES_PROFILE}
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 --git a/emulators/libretro-desmume/Makefile b/emulators/libretro-desmume/Makefile
index a93057cbba6..c2d02b7d940 100644
--- a/emulators/libretro-desmume/Makefile
+++ b/emulators/libretro-desmume/Makefile
@@ -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 @@ MAKE_FLAGS+= DESMUME_JIT=0
.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 --git a/emulators/libretro-fbalpha/Makefile b/emulators/libretro-fbalpha/Makefile
index f76ca70f46b..b1f0b7e0098 100644
--- a/emulators/libretro-fbalpha/Makefile
+++ b/emulators/libretro-fbalpha/Makefile
@@ -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+= GIT_VERSION="-pkgsrc"
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 --git a/emulators/libretro-freeintv/Makefile b/emulators/libretro-freeintv/Makefile
index 59c51db674f..6bdc9635312 100644
--- a/emulators/libretro-freeintv/Makefile
+++ b/emulators/libretro-freeintv/Makefile
@@ -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 @@ USE_LANGUAGES= c c++
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 --git a/emulators/libretro-fuse/Makefile b/emulators/libretro-fuse/Makefile
index 5f6e280adf2..568db8677b0 100644
--- a/emulators/libretro-fuse/Makefile
+++ b/emulators/libretro-fuse/Makefile
@@ -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 @@ MAKE_FILE= Makefile.libretro
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 --git a/emulators/libretro-genesis-plus-gx/Makefile b/emulators/libretro-genesis-plus-gx/Makefile
index 8c1ae2a6792..cb67ac8bc05 100644
--- a/emulators/libretro-genesis-plus-gx/Makefile
+++ b/emulators/libretro-genesis-plus-gx/Makefile
@@ -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+= SHARED_LIBVORBIS=1
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 --git a/emulators/libretro-mupen64plus/Makefile b/emulators/libretro-mupen64plus/Makefile
index 69dacd2f9c3..a7e7a84f7d9 100644
--- a/emulators/libretro-mupen64plus/Makefile
+++ b/emulators/libretro-mupen64plus/Makefile
@@ -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=x86_64
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 --git a/emulators/libretro-nestopia/Makefile b/emulators/libretro-nestopia/Makefile
index 2c679232c9f..d2155a9d706 100644
--- a/emulators/libretro-nestopia/Makefile
+++ b/emulators/libretro-nestopia/Makefile
@@ -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 @@ BUILD_DIRS= libretro
USE_LANGUAGES= c c++03
USE_TOOLS+= gmake
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-INSTALLATION_DIRS+= share/libretro-nestopia
-
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
CFLAGS+= -DPREFIX=\"${PREFIX}\"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+INSTALLATION_DIRS+= share/libretro-nestopia
+
do-install:
${INSTALL_LIB} ${WRKSRC}/libretro/nestopia_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/nestopia_libretro.so
diff --git a/emulators/libretro-o2em/Makefile b/emulators/libretro-o2em/Makefile
index ef45bc2b4de..b1090a69369 100644
--- a/emulators/libretro-o2em/Makefile
+++ b/emulators/libretro-o2em/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/13 19:48:55 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-o2em-20180812
CATEGORIES= emulators
@@ -21,6 +21,9 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff --git a/emulators/libretro-prosystem/Makefile b/emulators/libretro-prosystem/Makefile
index 162a9f88669..b10ed349419 100644
--- a/emulators/libretro-prosystem/Makefile
+++ b/emulators/libretro-prosystem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/13 18:04:15 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-prosystem-20180812
CATEGORIES= emulators
@@ -21,6 +21,9 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff --git a/emulators/libretro-snes9x2010/Makefile b/emulators/libretro-snes9x2010/Makefile
index aa09860b4c1..b3995dd630a 100644
--- a/emulators/libretro-snes9x2010/Makefile
+++ b/emulators/libretro-snes9x2010/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/10 20:55:13 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-snes9x2010-20180626
CATEGORIES= emulators
@@ -22,6 +22,8 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=libretro/link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff --git a/emulators/libretro-stella/Makefile b/emulators/libretro-stella/Makefile
index f09d3dfcc81..82e55d55852 100644
--- a/emulators/libretro-stella/Makefile
+++ b/emulators/libretro-stella/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/08 22:31:13 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-stella-20180411
CATEGORIES= emulators
@@ -17,6 +17,9 @@ USE_TOOLS+= gmake
MAKE_FLAGS+= GIT_VERSION="-${PKGVERSION_NOREV}-pkgsrc"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff --git a/emulators/libretro-vba-next/Makefile b/emulators/libretro-vba-next/Makefile
index 106f4dd081b..5009f81ffee 100644
--- a/emulators/libretro-vba-next/Makefile
+++ b/emulators/libretro-vba-next/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/08/11 13:22:52 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-vba-next-20180603
CATEGORIES= emulators games
@@ -19,6 +19,9 @@ MAKE_FILE= Makefile.libretro
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=./libretro/link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
INSTALLATION_DIRS= lib/libretro
do-install:
diff --git a/emulators/libretro-vecx/Makefile b/emulators/libretro-vecx/Makefile
index 5861f940aa5..858ab15ad10 100644
--- a/emulators/libretro-vecx/Makefile
+++ b/emulators/libretro-vecx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 16:09:55 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-vecx-20180412
CATEGORIES= emulators
@@ -16,6 +16,8 @@ USE_TOOLS+= gmake
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./link.T
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install: