summaryrefslogtreecommitdiff
path: root/emulators/libretro-snes9x/Makefile
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-snes9x/Makefile
parenteac0c81f953b7da65eb135107869e3ab7ac71b29 (diff)
downloadpkgsrc-2c55c9c15e5305b1f23334114247c1ac10d09efc.tar.gz
libretro-*: Support Darwin by cargo-culting SOEXT. Remove bsdtar hack.
Diffstat (limited to 'emulators/libretro-snes9x/Makefile')
-rw-r--r--emulators/libretro-snes9x/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/libretro-snes9x/Makefile b/emulators/libretro-snes9x/Makefile
index 6d1e0c8c289..6556c6b7dc6 100644
--- a/emulators/libretro-snes9x/Makefile
+++ b/emulators/libretro-snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/01/01 22:16:15 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:16 nia Exp $
.include "../../emulators/snes9x/Makefile.common"
@@ -12,6 +12,11 @@ BUILD_DIRS= libretro
USE_TOOLS+= gmake
+OPSYSVARS+= SOEXT
+SOEXT.Darwin= dylib
+SOEXT.*= so
+PLIST_SUBST+= SOEXT=${SOEXT}
+
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
MAKE_FLAGS+= LTO=