Revision 469 (by ahitrov, 2014/12/24 13:57:26) |
Moving Contenido to Apache 2
|
##############################################################################
# $HeadURL: http://developers.rambler.ru/svn/contenido/koi8/core/ports/all/apache13/GNUmakefile $
# $Id: GNUmakefile 511 2006-10-10 14:49:33Z lonerr $
###############################################################################
PORTVERSION = 2.0.33
MASTER_POST_SITES = http://www.boutell.com/gd/http
PORT_DEPENDS = jpeg libpng
DISTFILE = gd-${PORTVERSION}.tar.gz
CONFIGURE_POSTARGS = --with-jpeg=${PREFIX} --with-png=${PREFIX} --with-pic
do-configure:
@export PATH=${PREFIX}/bin:$${PATH} \
&& cd ${WRKSRC} \
&& ${CONFIGURE_ENV} ${CONFIGURE_POSTENV} ${CONFIGURE_COMMAND} ${CONFIGURE_ARGS} \
${CONFIGURE_POSTARGS}
@sed -i '' -E -e 's/LDFLAGS =(.*)/LDFLAGS = \1 -pthread/' \
${WRKSRC}/Makefile
include ../../etc/ports.mk