summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino>2011-12-12 07:08:48 +0000
committermarino <marino>2011-12-12 07:08:48 +0000
commit73acbdf6cd535dbba5abec05d070571058ac1389 (patch)
tree6bdd815d63afd82e8cd3ebdaefc4147897afd15a
parent38864848163bc8d61a2f3df149d17d02f4d2e736 (diff)
downloadpkgsrc-73acbdf6cd535dbba5abec05d070571058ac1389.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.
-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}