summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-23 19:46:14 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-23 19:46:14 +0000
commit4b941fdcc42e67f6942e422ec6bb10fb6fda942a (patch)
treebaa7a0f5bd479f16ba7eb25f07393bab33f62b3a /graphics
parentab5f83f880ae1f37cfafe7729eaa401df8f09b67 (diff)
downloadpkgsrc-4b941fdcc42e67f6942e422ec6bb10fb6fda942a.tar.gz
graphics/gd is built against libpthread, which causes PHP crashes
when the gd.so module is loaded into non-threaded base program (Apache 1.x or CLI/CGI PHP). Avoid this by switching back to bundled GD. XPM stays disabled. Bump PKGREVISION
Diffstat (limited to 'graphics')
-rw-r--r--graphics/php-gd/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/graphics/php-gd/Makefile b/graphics/php-gd/Makefile
index 50855cdfac7..8680cc74e3f 100644
--- a/graphics/php-gd/Makefile
+++ b/graphics/php-gd/Makefile
@@ -1,12 +1,16 @@
-# $NetBSD: Makefile,v 1.5 2004/11/14 11:42:48 adam Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/23 19:46:14 jdolecek Exp $
MODNAME= gd
+PKGREVISION= 1
CATEGORIES+= graphics
COMMENT= PHP extension for GD graphics library
USE_BUILDLINK3= YES
-CONFIGURE_ARGS+= --with-${MODNAME}=${BUILDLINK_DIR}
+# XXX we use bundled GD so that extension is usable also by non-threaded
+# PHP, such as CLI/CGI version or ap-php on Apache 1.x.
+
+CONFIGURE_ARGS+= --with-${MODNAME}
CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_DIR}
@@ -15,6 +19,9 @@ CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
CONFIGURE_ARGS+= --without-t1lib
-.include "../../graphics/gd/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"