pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/blastem



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Dec 15 09:12:07 UTC 2020

Modified Files:
        pkgsrc/emulators/blastem: Makefile

Log Message:
blastem: Explicitly set CPU rather than inferring from uname


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/blastem/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/blastem/Makefile
diff -u pkgsrc/emulators/blastem/Makefile:1.4 pkgsrc/emulators/blastem/Makefile:1.5
--- pkgsrc/emulators/blastem/Makefile:1.4       Sat Nov  7 11:39:57 2020
+++ pkgsrc/emulators/blastem/Makefile   Tue Dec 15 09:12:07 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/11/07 11:39:57 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/12/15 09:12:07 nia Exp $
 
 DISTNAME=      8aeac7bd9fa7
 PKGNAME=       blastem-0.6.2
@@ -39,6 +39,14 @@ NOT_PAX_MPROTECT_SAFE+=      bin/blastem
 # may support ARM in future
 ONLY_FOR_PLATFORM=     *-*-x86_64 *-*-i386
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+MAKE_FLAGS+=   CPU=i686
+.elif ${MACHINE_ARCH} == "x86_64"
+MAKE_FLAGS+=   CPU=x86_64
+.endif
+
 pre-configure:
        ${CP} ${FILESDIR}/blastem.desktop ${WRKDIR}/blastem.desktop
 



Home | Main Index | Thread Index | Old Index