freebsd-ports/math/gambit/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

33 lines
726 B
Makefile

# ex:ts=8
# Ports collection makefile for: gambit
# Date created: Feb 8, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gambit
PORTVERSION= 0.2010.09.01
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
USE_GNOME= gtk20
WANT_UNICODE= yes
USE_WX= 2.6+
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
USE_LDCONFIG= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
CFLAGS+= -O2 -fno-strict-aliasing
.endif
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
.include <bsd.port.mk>