Line # Revision Author
1 8 ahitrov@rambler.ru ##############################################################################
2 # $HeadURL: svn://cvs1.rambler.ru/Contenido/trunk/ports/all/apache13/GNUmakefile $
3 # $Id: GNUmakefile 511 2006-10-10 14:49:33Z lonerr $
4 ###############################################################################
5
6 PORTVERSION = 2.0.33
7 MASTER_POST_SITES = http://www.boutell.com/gd/http
8 PORT_DEPENDS = jpeg libpng
9 DISTFILE = gd-${PORTVERSION}.tar.gz
10
11 CONFIGURE_POSTARGS = --with-jpeg=${PREFIX} --with-png=${PREFIX} --with-pic
12
13 do-configure:
14 @export PATH=${PREFIX}/bin:$${PATH} \
15 && cd ${WRKSRC} \
16 && ${CONFIGURE_ENV} ${CONFIGURE_POSTENV} ${CONFIGURE_COMMAND} ${CONFIGURE_ARGS} \
17 ${CONFIGURE_POSTARGS}
18
19 @sed -i '' -E -e 's/LDFLAGS =(.*)/LDFLAGS = \1 -pthread/' \
20 ${WRKSRC}/Makefile
21
22
23 include ../../etc/ports.mk