aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-06-26 07:23:43 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-06-26 07:23:43 +0000
commit69be1482c0ac16528bb506ef3b837324214a8fd3 (patch)
tree02094e3a5432571a2be26b024ab0b39391e26786 /misc
parenta2d848810e589fe601be7d8405d3813a1267d01b (diff)
downloadports-69be1482c0ac16528bb506ef3b837324214a8fd3.tar.gz
ports-69be1482c0ac16528bb506ef3b837324214a8fd3.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/astrolog/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index ff6d539f66dd..b52920227973 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -21,7 +21,13 @@ DISTFILES= ${EXTRACT_ONLY}:dist ${EPHEM}:ephem
MAINTAINER= ache@FreeBSD.org
COMMENT= An astrology program for X11 and alpha-numeric terminals
-CFLAGS+=-O # Silent gcc 4.2.0 loop optimization bug with -O2
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+# gcc 4.2.0 loop optimization limits range bug with -O2
+CFLAGS+=-fno-tree-vrp
+.endif
+
USE_ZIP= yes
.if !defined(WITHOUT_X11)
USE_XLIB= yes
@@ -58,4 +64,4 @@ do-install:
@${ECHO_MSG} "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for help"
@${ECHO_MSG} "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>