summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-05 08:38:36 +0000
committernia <nia@pkgsrc.org>2019-07-05 08:38:36 +0000
commit33a1e39a31c7df400cb0b43deb832f635b15135a (patch)
tree50288d43569397ef7b55956f96013d96eb27b20d /emulators
parent83d646dcb5abb67faf398401787d1651ed6e797b (diff)
downloadpkgsrc-33a1e39a31c7df400cb0b43deb832f635b15135a.tar.gz
Adjust some dlopen handling in the emulators category.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dolphin-emu/Makefile5
-rw-r--r--emulators/libretro-pcsx-rearmed/Makefile4
-rw-r--r--emulators/snes9x-gtk/Makefile5
3 files changed, 7 insertions, 7 deletions
diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile
index 1a5f8300870..00abc52d0f6 100644
--- a/emulators/dolphin-emu/Makefile
+++ b/emulators/dolphin-emu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/07/05 08:27:12 nia Exp $
+# $NetBSD: Makefile,v 1.8 2019/07/05 08:38:36 nia Exp $
DISTNAME= dolphin-emu-5.0
PKGREVISION= 4
@@ -41,8 +41,6 @@ CMAKE_ARGS+= -DENABLE_GENERIC=1
# "Couldn't find libevdev and/or libudev. Can't build evdev controller backend."
CMAKE_ARGS.Linux+= -DENABLE_EVDEV=0
-BUILDLINK_TRANSFORM+= rm:-ldl
-
# JIT
NOT_PAX_MPROTECT_SAFE+= bin/dolphin-emu
NOT_PAX_MPROTECT_SAFE+= bin/dolphin-emu-nogui
@@ -66,5 +64,6 @@ NOT_PAX_MPROTECT_SAFE+= bin/dolphin-emu-nogui
.endif
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-pcsx-rearmed/Makefile b/emulators/libretro-pcsx-rearmed/Makefile
index 9d863e6ba9e..e20a2e014bf 100644
--- a/emulators/libretro-pcsx-rearmed/Makefile
+++ b/emulators/libretro-pcsx-rearmed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/08/16 13:25:28 nia Exp $
+# $NetBSD: Makefile,v 1.8 2019/07/05 08:38:36 nia Exp $
DISTNAME= libretro-pcsx-rearmed-0.22
CATEGORIES= emulators
@@ -35,4 +35,6 @@ do-install:
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile
index ecfa281c4b8..b5af01c4b4b 100644
--- a/emulators/snes9x-gtk/Makefile
+++ b/emulators/snes9x-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2019/04/25 07:32:53 maya Exp $
+# $NetBSD: Makefile,v 1.67 2019/07/05 08:38:36 nia Exp $
PKGREVISION= 1
.include "../../emulators/snes9x/Makefile.common"
@@ -30,8 +30,6 @@ SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
LDFLAGS.SunOS+= -lsocket -lnsl
-BUILDLINK_TRANSFORM+= rm:-ldl
-
do-configure:
cd ${WRKSRC}/gtk && ${SETENV} ${MAKE_ENV} meson --prefix ${PREFIX} --libdir lib --mandir ${PKGMANDIR} --buildtype=plain ${MESON_ARGS} . output
@@ -54,4 +52,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../x11/libXv/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/bsd.pkg.mk"