pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators Adjust some dlopen handling in the emulators...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/618af39619e4
branches:  trunk
changeset: 336024:618af39619e4
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 05 08:38:36 2019 +0000

description:
Adjust some dlopen handling in the emulators category.

diffstat:

 emulators/dolphin-emu/Makefile           |  5 ++---
 emulators/libretro-pcsx-rearmed/Makefile |  4 +++-
 emulators/snes9x-gtk/Makefile            |  5 ++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (65 lines):

diff -r eaf7455f3a9d -r 618af39619e4 emulators/dolphin-emu/Makefile
--- a/emulators/dolphin-emu/Makefile    Fri Jul 05 08:27:12 2019 +0000
+++ b/emulators/dolphin-emu/Makefile    Fri Jul 05 08:38:36 2019 +0000
@@ -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 @@
 # "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 @@
 .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 -r eaf7455f3a9d -r 618af39619e4 emulators/libretro-pcsx-rearmed/Makefile
--- a/emulators/libretro-pcsx-rearmed/Makefile  Fri Jul 05 08:27:12 2019 +0000
+++ b/emulators/libretro-pcsx-rearmed/Makefile  Fri Jul 05 08:38:36 2019 +0000
@@ -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 @@
 
 .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 -r eaf7455f3a9d -r 618af39619e4 emulators/snes9x-gtk/Makefile
--- a/emulators/snes9x-gtk/Makefile     Fri Jul 05 08:27:12 2019 +0000
+++ b/emulators/snes9x-gtk/Makefile     Fri Jul 05 08:38:36 2019 +0000
@@ -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 @@
 
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index