diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-01 20:07:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-01 20:07:59 +0000 |
commit | fcb7da800bdfcf21720b30da13c68603c1f09525 (patch) | |
tree | 77aa2e325b82a73660278dbb13238e6aac0adca7 /lang/php/ext.mk | |
parent | f252a9837d224356df2bfc3c73223d7e84e939c5 (diff) | |
download | pkgsrc-fcb7da800bdfcf21720b30da13c68603c1f09525.tar.gz |
Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14". Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
Diffstat (limited to 'lang/php/ext.mk')
-rw-r--r-- | lang/php/ext.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk index 0de65db4874..66374b8392e 100644 --- a/lang/php/ext.mk +++ b/lang/php/ext.mk @@ -1,4 +1,4 @@ -# $NetBSD: ext.mk,v 1.5 2004/12/12 09:13:56 jdolecek Exp $ +# $NetBSD: ext.mk,v 1.6 2005/06/01 20:08:00 jlam Exp $ # # PHP extension package framework, for both PECL and bundled PHP extensions. # @@ -40,6 +40,7 @@ CONFIGURE_ARGS+= --with-php-config=${PHP_CONFIG} USE_CONFIG_WRAPPER= YES USE_LIBTOOL= YES +USE_TOOLS+= automake # Ensure we export symbols in the linked shared object. LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} @@ -56,9 +57,11 @@ phpize-module: @cookie=${WRKDIR}/.phpize_module_done; \ if [ ! -f $${cookie} ]; then \ cd ${WRKSRC} && \ - ${SETENV} AUTOCONF=${AUTOCONF} AUTOHEADER=${AUTOHEADER} \ - ACLOCAL=${ACLOCAL} \ - LIBTOOLIZE=${LOCALBASE}/bin/libtoolize \ + ${SETENV} \ + AUTOCONF=${TOOLS_DIR:Q}/bin/autoconf \ + AUTOHEADER=${TOOLS_DIR:Q}/bin/autoheader \ + ACLOCAL=${TOOLS_DIR:Q}/bin/aclocal \ + LIBTOOLIZE=${LOCALBASE:Q}/bin/libtoolize \ ${PHPIZE} && \ ${TOUCH} ${TOUCH_FLAGS} $${cookie}; \ fi @@ -79,7 +82,6 @@ do-patch: done .endif -.include "../../mk/automake.mk" .include "${PHPPKGSRCDIR}/buildlink3.mk" .endif # PHPEXT_MK |