pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/raine



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  7 09:35:49 UTC 2024

Modified Files:
        pkgsrc/emulators/raine: Makefile

Log Message:
raine: ensure a hardfloat arm architecture is selected

http://victory.netbsd.org/pkgsrc/packages/reports/2024Q2/evbarm7-10.0/20240705.0101/raine-0.96.7nb3/build.log


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/emulators/raine/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/raine/Makefile
diff -u pkgsrc/emulators/raine/Makefile:1.46 pkgsrc/emulators/raine/Makefile:1.47
--- pkgsrc/emulators/raine/Makefile:1.46        Wed May 29 16:32:27 2024
+++ pkgsrc/emulators/raine/Makefile     Sun Jul  7 09:35:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2024/05/29 16:32:27 adam Exp $
+# $NetBSD: Makefile,v 1.47 2024/07/07 09:35:49 nia Exp $
 
 DISTNAME=      raine-0.96.7
 PKGREVISION=   3
@@ -26,6 +26,16 @@ MAKE_FLAGS+= sharedir=${DESTDIR}${PREFIX
 MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 MAKE_FLAGS+=   rainedata=${DESTDIR}${PREFIX}/share/raine
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${MACHINE_ARCH} == "earmv6hf"
+CFLAGS+=               -march=armv6-a -marm
+.endif
+
+.if ${MACHINE_ARCH} == "earmv7hf"
+CFLAGS+=               -march=armv7-a -marm
+.endif
+
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths+=    source/raine.c



Home | Main Index | Thread Index | Old Index