summaryrefslogtreecommitdiff
path: root/emulators/libretro-fuse
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-fuse
parenteac0c81f953b7da65eb135107869e3ab7ac71b29 (diff)
downloadpkgsrc-2c55c9c15e5305b1f23334114247c1ac10d09efc.tar.gz
libretro-*: Support Darwin by cargo-culting SOEXT. Remove bsdtar hack.
Diffstat (limited to 'emulators/libretro-fuse')
-rw-r--r--emulators/libretro-fuse/Makefile8
-rw-r--r--emulators/libretro-fuse/PLIST4
2 files changed, 8 insertions, 4 deletions
diff --git a/emulators/libretro-fuse/Makefile b/emulators/libretro-fuse/Makefile
index 568db8677b0..58ff183010e 100644
--- a/emulators/libretro-fuse/Makefile
+++ b/emulators/libretro-fuse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:14 nia Exp $
DISTNAME= libretro-fuse-20180419
CATEGORIES= emulators
@@ -11,10 +11,14 @@ HOMEPAGE= https://docs.libretro.com/library/fuse/
COMMENT= Libretro core based on the FUSE ZX Spectrum emulator
LICENSE= gnu-gpl-v3
-EXTRACT_USING= bsdtar
USE_TOOLS+= gmake
MAKE_FILE= Makefile.libretro
+OPSYSVARS+= SOEXT
+SOEXT.Darwin= dylib
+SOEXT.*= so
+PLIST_SUBST+= SOEXT=${SOEXT}
+
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"
diff --git a/emulators/libretro-fuse/PLIST b/emulators/libretro-fuse/PLIST
index 006df6aa7e1..80ec5daa02b 100644
--- a/emulators/libretro-fuse/PLIST
+++ b/emulators/libretro-fuse/PLIST
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:42:09 nia Exp $
-lib/libretro/fuse_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/fuse_libretro.${SOEXT}