pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators Use "${MACHINE_ARCH} ==" for x86_64 and i386...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d9bd78da0900
branches: trunk
changeset: 383937:d9bd78da0900
user: nia <nia%pkgsrc.org@localhost>
date: Tue Aug 14 13:08:57 2018 +0000
description:
Use "${MACHINE_ARCH} ==" for x86_64 and i386 instead of the :M pattern.
diffstat:
emulators/libretro-desmume/Makefile | 4 ++--
emulators/libretro-mupen64plus/options.mk | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r e7a0f405601f -r d9bd78da0900 emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile Tue Aug 14 13:04:24 2018 +0000
+++ b/emulators/libretro-desmume/Makefile Tue Aug 14 13:08:57 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 12:57:23 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/14 13:08:57 nia Exp $
DISTNAME= libretro-desmume-20180807
CATEGORIES= emulators
@@ -25,7 +25,7 @@
CXXFLAGS+= -DARM
MAKE_FLAGS+= DESMUME_JIT=0
MAKE_FLAGS+= DESMUME_JIT_ARM=1
-.elif !empty(MACHINE_ARCH:M*x86_64*) || !empty(MACHINE_ARCH:M*i386*)
+.elif ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
MAKE_FLAGS+= DESMUME_JIT=1
.else
MAKE_FLAGS+= DESMUME_JIT=0
diff -r e7a0f405601f -r d9bd78da0900 emulators/libretro-mupen64plus/options.mk
--- a/emulators/libretro-mupen64plus/options.mk Tue Aug 14 13:04:24 2018 +0000
+++ b/emulators/libretro-mupen64plus/options.mk Tue Aug 14 13:08:57 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2018/08/11 21:03:17 nia Exp $
+# $NetBSD: options.mk,v 1.7 2018/08/14 13:08:57 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libretro-mupen64plus
PKG_OPTIONS_REQUIRED_GROUPS= graphics
@@ -11,11 +11,11 @@
PKG_SUPPORTED_OPTIONS+= dynarec
PKG_SUGGESTED_OPTIONS+= rpi dynarec
MUPEN64_DYNAREC_ARCH= arm
-.elif !empty(MACHINE_ARCH:Mi386)
+.elif ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS+= dynarec
PKG_SUGGESTED_OPTIONS+= dynarec opengl
MUPEN64_DYNAREC_ARCH= x86
-.elif !empty(MACHINE_ARCH:Mx86_64)
+.elif ${MACHINE_ARCH} == "x86_64"
PKG_SUPPORTED_OPTIONS+= dynarec
PKG_SUGGESTED_OPTIONS+= dynarec opengl
MUPEN64_DYNAREC_ARCH= x86_64
Home |
Main Index |
Thread Index |
Old Index