summaryrefslogtreecommitdiff
path: root/emulators/snes9x-gtk
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/snes9x-gtk
parent83d646dcb5abb67faf398401787d1651ed6e797b (diff)
downloadpkgsrc-33a1e39a31c7df400cb0b43deb832f635b15135a.tar.gz
Adjust some dlopen handling in the emulators category.
Diffstat (limited to 'emulators/snes9x-gtk')
-rw-r--r--emulators/snes9x-gtk/Makefile5
1 files changed, 2 insertions, 3 deletions
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"