summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2015-02-05 17:15:52 +0000
committerjmcneill <jmcneill@pkgsrc.org>2015-02-05 17:15:52 +0000
commit6d6b65b5d6d1156a7dd1b62cb596e1624178b864 (patch)
treeede6d64b66689158d0f6100b9535acd12b1f2670
parentebcf25e2d51c9e4247f3b58a1dd603cf7d3b70e2 (diff)
downloadpkgsrc-6d6b65b5d6d1156a7dd1b62cb596e1624178b864.tar.gz
for non-arm, use platform=unix
-rw-r--r--emulators/libretro-snes9x-next/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/emulators/libretro-snes9x-next/Makefile b/emulators/libretro-snes9x-next/Makefile
index 954e578d05f..a8f1f9acac9 100644
--- a/emulators/libretro-snes9x-next/Makefile
+++ b/emulators/libretro-snes9x-next/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/02/05 00:16:25 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2015/02/05 17:15:52 jmcneill Exp $
DISTNAME= snes9x-next-libretro-20150204
PKGNAME= libretro-snes9x-next-20150204
@@ -15,9 +15,10 @@ USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
-SNES9X_NEXT_PLATFORM= ${MACHINE_ARCH}
.if !empty(MACHINE_ARCH:M*arm*hf)
-SNES9X_NEXT_PLATFORM+= -hardfloat
+SNES9X_NEXT_PLATFORM= ${MACHINE_ARCH}-hardfloat
+.else
+SNES9X_NEXT_PLATFORM= unix
.endif
MAKE_ENV+= platform="${SNES9X_NEXT_PLATFORM}"