diff options
-rw-r--r-- | graphics/php-gd/Makefile | 13 |
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" |