summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-07-27 21:01:42 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-07-27 21:01:42 +0000
commit8bdc45fb008f86a927fa2461d58a6f275b5661f5 (patch)
tree7e282c4d53cf80a985d7a258d45a6acb7344dbcb /math
parent- Fix security issue in mod_rewrite. (diff)
- Don't mark BROKEN on >= 6.x;
- Force -fno-strict-aliasing to unbreak on 5.x.
Notes
Notes: svn path=/head/; revision=168905
Diffstat (limited to 'math')
-rw-r--r--math/gambit/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index ede81fdc774e..2a5353590951 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -15,8 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
-BROKEN= fails to compile
-
LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
USE_X_PREFIX= yes
@@ -29,6 +27,9 @@ INSTALLS_SHLIB= yes
CPPFLAGS= ${PTHREAD_CFLAGS}
LDFLAGS= ${PTHREAD_LIBS}
+.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
+CFLAGS+= -O2 -fno-strict-aliasing
+.endif
.include <bsd.port.pre.mk>