summaryrefslogtreecommitdiff
path: root/graphics/php-gd
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-05 17:11:39 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-05 17:11:39 +0000
commit4fdb70ce2b6a154fab737325ef9b83945cd7bbc9 (patch)
tree89a1969994af5555fc7a3f3db8d11fca07670f21 /graphics/php-gd
parente4a73d8831a35ec7b2c81ad104852b3c8d4535a3 (diff)
downloadpkgsrc-4fdb70ce2b6a154fab737325ef9b83945cd7bbc9.tar.gz
now that PHP 5.x Makefile.common doesn't pollute CONFIGURE_ARGS, it safe
to include "../../lang/php/ext.mk" after extension CONFIGURE_ARGS setting; successful build confirmed with both PHP 4.x and PHP 5.x
Diffstat (limited to 'graphics/php-gd')
-rw-r--r--graphics/php-gd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/php-gd/Makefile b/graphics/php-gd/Makefile
index 3c0e40b5786..e1888d321cf 100644
--- a/graphics/php-gd/Makefile
+++ b/graphics/php-gd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/05 17:11:40 jdolecek Exp $
MODNAME= gd
CATEGORIES+= graphics
@@ -8,8 +8,6 @@ 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}
@@ -26,4 +24,5 @@ CONFIGURE_ARGS+= --without-t1lib
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
+.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"