# ex:ts=8
# Ports collection makefile for: gambit
# Date created: Feb 8, 2003
# Whom: ijliao
#
# $FreeBSD: ports/math/gambit/Makefile,v 1.28 2007/11/24 18:37:02 pav Exp $
#
PORTNAME= gambit
PORTVERSION= 0.2007.01.30
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
USE_GNOME= gnometarget gtk20
USE_WX= 2.6
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= 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>
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= Does not compile
.endif
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
syntax highlighted by Code2HTML, v. 0.9.1