summaryrefslogtreecommitdiff
path: root/games/orbital_eunuchs_sniper
diff options
context:
space:
mode:
authormarino <marino>2011-12-12 07:08:48 +0000
committermarino <marino>2011-12-12 07:08:48 +0000
commitc93bf60d38d198e5a1b1bf5cccd082071a7c1c59 (patch)
tree6bdd815d63afd82e8cd3ebdaefc4147897afd15a /games/orbital_eunuchs_sniper
parent8d092815fc409d2a25e91d85c871d223fb912193 (diff)
downloadpkgsrc-c93bf60d38d198e5a1b1bf5cccd082071a7c1c59.tar.gz
games/orbital_eunuchs_sniper: Fix DragonFly
The makefile and PLIST says that x86_64 platforms will produce a file called snipe2d.amd64.dynamic, but on DragonFly the file created was snipe2d.x86_64.dynamic. The Makefile adjusted accordingly.
Diffstat (limited to 'games/orbital_eunuchs_sniper')
-rw-r--r--games/orbital_eunuchs_sniper/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile
index 7b9b04ddab6..5e95aab18c4 100644
--- a/games/orbital_eunuchs_sniper/Makefile
+++ b/games/orbital_eunuchs_sniper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/01/13 13:37:49 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2011/12/12 07:08:48 marino Exp $
#
DISTNAME= orbital_eunuchs_sniper-1.30
@@ -22,7 +22,9 @@ REPLACE.bash.old= .*/bin/bash
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= src/snipe2d.in
-.if ${MACHINE_ARCH} == "x86_64"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "DragonFly"
PLIST_SUBST+= CPU=amd64
.else
PLIST_SUBST+= CPU=${MACHINE_ARCH}