Line # Revision Author
1 3 ahitrov@rambler.ru ##############################################################################
2 # $HeadURL: http://developers.rambler.ru/svn/contenido/koi8/core/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