diff options
author | jlam <jlam> | 2005-06-01 20:07:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-06-01 20:07:59 +0000 |
commit | 6492b8f1ec8698b04f9127eecc0ef008460a9830 (patch) | |
tree | 77aa2e325b82a73660278dbb13238e6aac0adca7 /lang/php | |
parent | 9c65cd2dcc49b8566966aad971d48eabca98f809 (diff) | |
download | pkgsrc-6492b8f1ec8698b04f9127eecc0ef008460a9830.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')
-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 |