freebsd-ports/devel/gaul/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

34 lines
740 B
Makefile

# ex:ts=8
# Ports collection makefile for: gaul
# Date created: Oct 28, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gaul
PORTVERSION= 0.1849.0
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/0.1849
DISTNAME= ${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Genetic Algorithm Utility Library
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -lcurses ${PTHREAD_LIBS}
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread||g' ${WRKSRC}/configure
.include <bsd.port.mk>