summaryrefslogtreecommitdiff
path: root/emulators/libretro-sameboy
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-05-26 09:45:11 +0000
committernia <nia@pkgsrc.org>2020-05-26 09:45:11 +0000
commit2c55c9c15e5305b1f23334114247c1ac10d09efc (patch)
treeff6c6b92aeccdd9404dfee44a45ebd2bc723f372 /emulators/libretro-sameboy
parenteac0c81f953b7da65eb135107869e3ab7ac71b29 (diff)
downloadpkgsrc-2c55c9c15e5305b1f23334114247c1ac10d09efc.tar.gz
libretro-*: Support Darwin by cargo-culting SOEXT. Remove bsdtar hack.
Diffstat (limited to 'emulators/libretro-sameboy')
-rw-r--r--emulators/libretro-sameboy/Makefile7
-rw-r--r--emulators/libretro-sameboy/PLIST4
2 files changed, 8 insertions, 3 deletions
diff --git a/emulators/libretro-sameboy/Makefile b/emulators/libretro-sameboy/Makefile
index 01a8057f7a1..799ff576169 100644
--- a/emulators/libretro-sameboy/Makefile
+++ b/emulators/libretro-sameboy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/07/18 10:44:57 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
.include "../../emulators/sameboy/Makefile.common"
@@ -12,6 +12,11 @@ BUILD_DIRS= libretro
MAKE_FLAGS+= GIT_VERSION="${PKGVERSION}-pkgsrc"
+OPSYSVARS+= SOEXT
+SOEXT.Darwin= dylib
+SOEXT.*= so
+PLIST_SUBST+= SOEXT=${SOEXT}
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
diff --git a/emulators/libretro-sameboy/PLIST b/emulators/libretro-sameboy/PLIST
index 4282582735c..e60d81b813e 100644
--- a/emulators/libretro-sameboy/PLIST
+++ b/emulators/libretro-sameboy/PLIST
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/15 15:32:11 nia Exp $
-lib/libretro/sameboy_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/sameboy_libretro.${SOEXT}