pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Oct  2 21:09:30 UTC 2018

Modified Files:
        pkgsrc/emulators/libretro-beetle-ngp: Makefile
        pkgsrc/emulators/libretro-beetle-pce-fast: Makefile
        pkgsrc/emulators/libretro-beetle-psx: Makefile
        pkgsrc/emulators/libretro-beetle-saturn: Makefile
        pkgsrc/emulators/libretro-beetle-sgx: Makefile
        pkgsrc/emulators/libretro-beetle-vb: Makefile
        pkgsrc/emulators/libretro-beetle-wswan: Makefile
        pkgsrc/emulators/libretro-bluemsx: Makefile
        pkgsrc/emulators/libretro-bsnes-mercury: Makefile.common
        pkgsrc/emulators/libretro-desmume: Makefile
        pkgsrc/emulators/libretro-fbalpha: Makefile
        pkgsrc/emulators/libretro-freeintv: Makefile
        pkgsrc/emulators/libretro-fuse: Makefile
        pkgsrc/emulators/libretro-genesis-plus-gx: Makefile
        pkgsrc/emulators/libretro-mupen64plus: Makefile
        pkgsrc/emulators/libretro-nestopia: Makefile
        pkgsrc/emulators/libretro-o2em: Makefile
        pkgsrc/emulators/libretro-prosystem: Makefile
        pkgsrc/emulators/libretro-snes9x2010: Makefile
        pkgsrc/emulators/libretro-stella: Makefile
        pkgsrc/emulators/libretro-vba-next: Makefile
        pkgsrc/emulators/libretro-vecx: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-ngp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-pce-fast/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-beetle-psx/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-beetle-saturn/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-sgx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-vb/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-wswan/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-bluemsx/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-desmume/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-fbalpha/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-freeintv/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-fuse/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-genesis-plus-gx/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/libretro-mupen64plus/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-nestopia/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-o2em/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-prosystem/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-snes9x2010/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-stella/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-vba-next/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-vecx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-beetle-ngp/Makefile
diff -u pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.1 pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.2
--- pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.1   Sat Aug 11 00:32:25 2018
+++ pkgsrc/emulators/libretro-beetle-ngp/Makefile       Tue Oct  2 21:09:28 2018
@@ -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:

Index: pkgsrc/emulators/libretro-beetle-pce-fast/Makefile
diff -u pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.1 pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.2
--- pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.1      Fri Aug 10 23:16:12 2018
+++ pkgsrc/emulators/libretro-beetle-pce-fast/Makefile  Tue Oct  2 21:09:28 2018
@@ -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"

Index: pkgsrc/emulators/libretro-beetle-psx/Makefile
diff -u pkgsrc/emulators/libretro-beetle-psx/Makefile:1.4 pkgsrc/emulators/libretro-beetle-psx/Makefile:1.5
--- pkgsrc/emulators/libretro-beetle-psx/Makefile:1.4   Fri Sep  7 09:44:49 2018
+++ pkgsrc/emulators/libretro-beetle-psx/Makefile       Tue Oct  2 21:09:28 2018
@@ -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:

Index: pkgsrc/emulators/libretro-beetle-saturn/Makefile
diff -u pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.3 pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.4
--- pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.3        Fri Sep  7 00:49:04 2018
+++ pkgsrc/emulators/libretro-beetle-saturn/Makefile    Tue Oct  2 21:09:29 2018
@@ -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"

Index: pkgsrc/emulators/libretro-beetle-sgx/Makefile
diff -u pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.1 pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.2
--- pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.1   Mon Aug 13 00:54:25 2018
+++ pkgsrc/emulators/libretro-beetle-sgx/Makefile       Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-beetle-vb/Makefile
diff -u pkgsrc/emulators/libretro-beetle-vb/Makefile:1.1 pkgsrc/emulators/libretro-beetle-vb/Makefile:1.2
--- pkgsrc/emulators/libretro-beetle-vb/Makefile:1.1    Sun Aug 12 14:36:52 2018
+++ pkgsrc/emulators/libretro-beetle-vb/Makefile        Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-beetle-wswan/Makefile
diff -u pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.1 pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.2
--- pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.1 Sun Aug 12 12:52:52 2018
+++ pkgsrc/emulators/libretro-beetle-wswan/Makefile     Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-bluemsx/Makefile
diff -u pkgsrc/emulators/libretro-bluemsx/Makefile:1.1 pkgsrc/emulators/libretro-bluemsx/Makefile:1.2
--- pkgsrc/emulators/libretro-bluemsx/Makefile:1.1      Mon Aug 13 16:34:07 2018
+++ pkgsrc/emulators/libretro-bluemsx/Makefile  Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common
diff -u pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.1 pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.2
--- pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.1 Mon Aug 13 14:37:25 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common     Tue Oct  2 21:09:29 2018
@@ -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

Index: pkgsrc/emulators/libretro-desmume/Makefile
diff -u pkgsrc/emulators/libretro-desmume/Makefile:1.3 pkgsrc/emulators/libretro-desmume/Makefile:1.4
--- pkgsrc/emulators/libretro-desmume/Makefile:1.3      Thu Sep 27 20:22:26 2018
+++ pkgsrc/emulators/libretro-desmume/Makefile  Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-fbalpha/Makefile
diff -u pkgsrc/emulators/libretro-fbalpha/Makefile:1.2 pkgsrc/emulators/libretro-fbalpha/Makefile:1.3
--- pkgsrc/emulators/libretro-fbalpha/Makefile:1.2      Thu Sep  6 08:13:54 2018
+++ pkgsrc/emulators/libretro-fbalpha/Makefile  Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-freeintv/Makefile
diff -u pkgsrc/emulators/libretro-freeintv/Makefile:1.2 pkgsrc/emulators/libretro-freeintv/Makefile:1.3
--- pkgsrc/emulators/libretro-freeintv/Makefile:1.2     Mon Aug 13 00:58:12 2018
+++ pkgsrc/emulators/libretro-freeintv/Makefile Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-fuse/Makefile
diff -u pkgsrc/emulators/libretro-fuse/Makefile:1.1 pkgsrc/emulators/libretro-fuse/Makefile:1.2
--- pkgsrc/emulators/libretro-fuse/Makefile:1.1 Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/Makefile     Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-genesis-plus-gx/Makefile
diff -u pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.2 pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.3
--- pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.2      Sun Aug 12 17:11:40 2018
+++ pkgsrc/emulators/libretro-genesis-plus-gx/Makefile  Tue Oct  2 21:09:29 2018
@@ -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:

Index: pkgsrc/emulators/libretro-mupen64plus/Makefile
diff -u pkgsrc/emulators/libretro-mupen64plus/Makefile:1.12 pkgsrc/emulators/libretro-mupen64plus/Makefile:1.13
--- pkgsrc/emulators/libretro-mupen64plus/Makefile:1.12 Thu Aug 16 13:25:27 2018
+++ pkgsrc/emulators/libretro-mupen64plus/Makefile      Tue Oct  2 21:09:29 2018
@@ -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

Index: pkgsrc/emulators/libretro-nestopia/Makefile
diff -u pkgsrc/emulators/libretro-nestopia/Makefile:1.3 pkgsrc/emulators/libretro-nestopia/Makefile:1.4
--- pkgsrc/emulators/libretro-nestopia/Makefile:1.3     Sat Aug 11 20:26:12 2018
+++ pkgsrc/emulators/libretro-nestopia/Makefile Tue Oct  2 21:09:30 2018
@@ -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

Index: pkgsrc/emulators/libretro-o2em/Makefile
diff -u pkgsrc/emulators/libretro-o2em/Makefile:1.2 pkgsrc/emulators/libretro-o2em/Makefile:1.3
--- pkgsrc/emulators/libretro-o2em/Makefile:1.2 Mon Aug 13 19:48:55 2018
+++ pkgsrc/emulators/libretro-o2em/Makefile     Tue Oct  2 21:09:30 2018
@@ -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:

Index: pkgsrc/emulators/libretro-prosystem/Makefile
diff -u pkgsrc/emulators/libretro-prosystem/Makefile:1.1 pkgsrc/emulators/libretro-prosystem/Makefile:1.2
--- pkgsrc/emulators/libretro-prosystem/Makefile:1.1    Mon Aug 13 18:04:15 2018
+++ pkgsrc/emulators/libretro-prosystem/Makefile        Tue Oct  2 21:09:30 2018
@@ -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:

Index: pkgsrc/emulators/libretro-snes9x2010/Makefile
diff -u pkgsrc/emulators/libretro-snes9x2010/Makefile:1.1 pkgsrc/emulators/libretro-snes9x2010/Makefile:1.2
--- pkgsrc/emulators/libretro-snes9x2010/Makefile:1.1   Fri Aug 10 20:55:13 2018
+++ pkgsrc/emulators/libretro-snes9x2010/Makefile       Tue Oct  2 21:09:30 2018
@@ -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:

Index: pkgsrc/emulators/libretro-stella/Makefile
diff -u pkgsrc/emulators/libretro-stella/Makefile:1.2 pkgsrc/emulators/libretro-stella/Makefile:1.3
--- pkgsrc/emulators/libretro-stella/Makefile:1.2       Wed Aug  8 22:31:13 2018
+++ pkgsrc/emulators/libretro-stella/Makefile   Tue Oct  2 21:09:30 2018
@@ -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:

Index: pkgsrc/emulators/libretro-vba-next/Makefile
diff -u pkgsrc/emulators/libretro-vba-next/Makefile:1.3 pkgsrc/emulators/libretro-vba-next/Makefile:1.4
--- pkgsrc/emulators/libretro-vba-next/Makefile:1.3     Sat Aug 11 13:22:52 2018
+++ pkgsrc/emulators/libretro-vba-next/Makefile Tue Oct  2 21:09:30 2018
@@ -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:

Index: pkgsrc/emulators/libretro-vecx/Makefile
diff -u pkgsrc/emulators/libretro-vecx/Makefile:1.1 pkgsrc/emulators/libretro-vecx/Makefile:1.2
--- pkgsrc/emulators/libretro-vecx/Makefile:1.1 Sat Aug 11 16:09:55 2018
+++ pkgsrc/emulators/libretro-vecx/Makefile     Tue Oct  2 21:09:30 2018
@@ -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:



Home | Main Index | Thread Index | Old Index