Subject: graphics/php-gd dependencies
To: None <tech-pkg@netbsd.org>
From: Krzysztof Kotlenga <pocek@post.pl>
List: tech-pkg
Date: 11/05/2004 20:08:07
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi.
Please review the attached patch. It's self explandatory. I've used it to
avoid building of X11/xpm useles dependency and make use of already
installed graphics/gd.
BTW, I would like to remind that databases/rrdtool is ancient and newest
version (currently 1.0.49) is waiting on http://42.pl/url/9nn
PR #26353 some time ago... I'm trying to contribute ;)
--
What color is a chameleon on a mirror?
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="php-gd.patch"
--- Makefile.orig Fri Nov 5 19:11:19 2004
+++ Makefile Fri Nov 5 19:23:33 2004
@@ -6,24 +6,17 @@
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-${MODNAME}=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_DIR}
-CONFIGURE_ARGS+= --with-xpm-dir=${BUILDLINK_DIR}
-CONFIGURE_ARGS+= --with-ttf=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
CONFIGURE_ARGS+= --without-t1lib
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/xpm/buildlink3.mk"
+.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--AhhlLboLdkugWU4S--