diff options
author | thierry <thierry@FreeBSD.org> | 2006-07-28 05:01:42 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2006-07-28 05:01:42 +0800 |
commit | 11e965d0af79e9d587f86c1ba3faac1875004da9 (patch) | |
tree | ff379e81a22d7eb9cbd3efc1241c1477ec9ffae3 /math | |
parent | 001de23829a0a974adaceb753b9f035329efd4f0 (diff) | |
download | freebsd-ports-gnome-11e965d0af79e9d587f86c1ba3faac1875004da9.tar.gz freebsd-ports-gnome-11e965d0af79e9d587f86c1ba3faac1875004da9.tar.zst freebsd-ports-gnome-11e965d0af79e9d587f86c1ba3faac1875004da9.zip |
- Don't mark BROKEN on >= 6.x;
- Force -fno-strict-aliasing to unbreak on 5.x.
Diffstat (limited to 'math')
-rw-r--r-- | math/gambit/Makefile | 5 |
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> |