diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-06-26 07:23:43 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-06-26 07:23:43 +0000 |
commit | 69be1482c0ac16528bb506ef3b837324214a8fd3 (patch) | |
tree | 02094e3a5432571a2be26b024ab0b39391e26786 /misc | |
parent | a2d848810e589fe601be7d8405d3813a1267d01b (diff) |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/astrolog/Makefile | 10 |
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> |