summaryrefslogtreecommitdiff
path: root/emulators/libretro-mupen64plus
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-02-05 17:17:11 +0000
committerwiz <wiz@pkgsrc.org>2015-02-05 17:17:11 +0000
commita7c4739e068fa77187a93c7976892588759fc081 (patch)
tree32270ea67430e2766e688858448e422a9cab1c7e /emulators/libretro-mupen64plus
parent6d6b65b5d6d1156a7dd1b62cb596e1624178b864 (diff)
downloadpkgsrc-a7c4739e068fa77187a93c7976892588759fc081.tar.gz
Since options are ARM-specific, but options framework insists on having
at least one option, include options.mk only on ARM.
Diffstat (limited to 'emulators/libretro-mupen64plus')
-rw-r--r--emulators/libretro-mupen64plus/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/emulators/libretro-mupen64plus/Makefile b/emulators/libretro-mupen64plus/Makefile
index b694ae9daf7..0b7a00d0234 100644
--- a/emulators/libretro-mupen64plus/Makefile
+++ b/emulators/libretro-mupen64plus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/02/05 16:57:53 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2015/02/05 17:17:11 wiz Exp $
DISTNAME= mupen64plus-libretro-20150204
PKGNAME= libretro-mupen64plus-20150204
@@ -29,10 +29,14 @@ INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
CFLAGS+= -DHAVE_POSIX_MEMALIGN=1
.endif
+.if !empty(MACHINE_ARCH:M*arm*)
+# only ARM-specific options for now, and options framework
+#insists on having at least one option, so only pull it in for ARM
+.include "options.mk"
+.endif
+
do-install:
${INSTALL_LIB} ${WRKSRC}/mupen64plus_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/mupen64plus_libretro.so
-.include "options.mk"
-
.include "../../mk/bsd.pkg.mk"