diff options
author | jdolecek <jdolecek> | 2004-10-31 21:07:13 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-10-31 21:07:13 +0000 |
commit | fca4a2bcd6d97cf82eb70c2cc4fdb27ec8c4d969 (patch) | |
tree | 43db2985256b44525aca65ddff538530e5c2c223 /graphics/php-gd | |
parent | 64281bb941afc86bea764d8e1310ecc9260c3342 (diff) | |
download | pkgsrc-fca4a2bcd6d97cf82eb70c2cc4fdb27ec8c4d969.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" |