diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-10-31 21:07:13 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-10-31 21:07:13 +0000 |
commit | 49e9ef7f781dc0f511e367dcdf4f2798c1b025ed (patch) | |
tree | 43db2985256b44525aca65ddff538530e5c2c223 /graphics/php-gd | |
parent | 52c19805011b2d8d525f4d2a6c01cf961940d9aa (diff) | |
download | pkgsrc-49e9ef7f781dc0f511e367dcdf4f2798c1b025ed.tar.gz |
extension modules must be able to override CONFIGURE_ARGS, so include
lang/php/ext.mk before setting CONFIGURE_ARGS
Diffstat (limited to 'graphics/php-gd')
-rw-r--r-- | graphics/php-gd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/php-gd/Makefile b/graphics/php-gd/Makefile index 18d17e993f0..3c0e40b5786 100644 --- a/graphics/php-gd/Makefile +++ b/graphics/php-gd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= gd CATEGORIES+= graphics @@ -8,6 +8,8 @@ COMMENT= PHP extension for GD graphics library USE_BUILDLINK3= YES USE_X11= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --with-${MODNAME} # use bundled libgd CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR} CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR} @@ -19,7 +21,6 @@ CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv CONFIGURE_ARGS+= --without-t1lib -.include "../../lang/php/ext.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" |