summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-10-05 13:30:41 +0000
committernia <nia@pkgsrc.org>2018-10-05 13:30:41 +0000
commitc8b856655e915e42c7e59bf621b373e9861d5de2 (patch)
tree1e665973fe7c8efa3f2277f883e4d6084e5de479 /emulators
parente074ca15411d354c74a9ffa9d6689d67323268f3 (diff)
downloadpkgsrc-c8b856655e915e42c7e59bf621b373e9861d5de2.tar.gz
retroarch: SunOS build fixes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/retroarch/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/retroarch/Makefile b/emulators/retroarch/Makefile
index f10087b6db8..e686a9cf6ab 100644
--- a/emulators/retroarch/Makefile
+++ b/emulators/retroarch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/10/03 23:31:06 nia Exp $
+# $NetBSD: Makefile,v 1.12 2018/10/05 13:30:41 nia Exp $
PKGNAME= retroarch-${RETROARCH_VERSION}
DISTNAME= RetroArch-${RETROARCH_VERSION}
@@ -23,6 +23,9 @@ CONFIGURE_ARGS+= --disable-builtinzlib
CONFIGURE_ARGS+= --disable-builtinflac
CONFIGURE_ARGS+= --disable-discord
+# necessity for loading cores, might as well fail early without it
+CONFIGURE_ARGS+= --enable-dylib
+
CONFIGURE_ENV+= BIN_DIR=${PREFIX}/bin
CONFIGURE_ENV+= MAN_DIR=${PREFIX}/${PKGMANDIR}
@@ -33,6 +36,7 @@ DEPENDS+= libretro-database>=0:../../emulators/libretro-database
DEPENDS+= libretro-glsl-shaders>=0:../../emulators/libretro-glsl-shaders
CPPFLAGS+= -DPREFIX=\"${PREFIX}\"
+LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../mk/bsd.fast.prefs.mk"
@@ -49,5 +53,6 @@ CONFIGURE_ARGS+= --disable-thread_storage
.include "../../audio/flac/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/miniupnpc/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"