diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/orbital_eunuchs_sniper/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile index 99dd8389a01..b0f288782ac 100644 --- a/games/orbital_eunuchs_sniper/Makefile +++ b/games/orbital_eunuchs_sniper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2012/10/06 11:54:49 asau Exp $ +# $NetBSD: Makefile,v 1.23 2015/04/18 20:43:19 joerg Exp $ # DISTNAME= orbital_eunuchs_sniper-1.30 @@ -24,11 +24,15 @@ REPLACE_FILES.bash= src/snipe2d.in .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "DragonFly" -PLIST_SUBST+= CPU=amd64 +CPU= amd64 +.elif ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm" +CPU!= uname -m .else -PLIST_SUBST+= CPU=${MACHINE_ARCH} +CPU= ${MACHINE_ARCH} .endif +PLIST_SUBST+= CPU=${CPU:Q} + post-install: ${INSTALL_DATA} ${WRKSRC}/README \ ${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper |