aboutsummaryrefslogtreecommitdiff
path: root/games/exmars
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-07-30 17:48:41 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-07-30 17:48:41 +0000
commit6e4ad3455b6284f12e9296c87696cf51e54c5e5c (patch)
tree3d367346d3ae29516cfdd42a134dc0626530daa7 /games/exmars
parenta5ac9de8fcf4423f4ded858e49bd56c5e209bc85 (diff)
downloadports-6e4ad3455b6284f12e9296c87696cf51e54c5e5c.tar.gz
ports-6e4ad3455b6284f12e9296c87696cf51e54c5e5c.zip
Fix typo that caused compilation error on ia64 and fix a comment.
Reported by: pointyhat via kris Submitted by: Alejandro Pulver (maintainer)
Notes
Notes: svn path=/head/; revision=140484
Diffstat (limited to 'games/exmars')
-rw-r--r--games/exmars/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/exmars/Makefile b/games/exmars/Makefile
index 8f27e09ea025..29e87cfc8ae0 100644
--- a/games/exmars/Makefile
+++ b/games/exmars/Makefile
@@ -36,7 +36,7 @@ do-install:
BADCFLAGS+= -malign-double
.endif
-.if ${ARCH} != "amd64" && ${ARCH} != "ia64"
+.if ${ARCH} != "amd64" && ${ARCH} != "i386"
BADCFLAGS+= -maccumulate-outgoing-args \
-minline-all-stringops \
-mno-align-stringops
@@ -53,8 +53,10 @@ post-patch:
s|\./exmars|exmars|' \
${WRKSRC}/bench.sh
-# Enable/disable compilation optimizations
+# Fix Makefile
@${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE}
+
+# Enable/disable compilation optimizations
.if !defined(WITH_OPTIMIZED_CFLAGS) || ${OSVERSION} < 500035
@${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE}
.endif