diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2015-09-02 14:31:58 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2015-09-02 15:34:30 -0400 |
commit | 0e50178a73252a9d0b4445fe82b25ddb663799e2 (patch) | |
tree | cdc4b64538aec6991968cc157faffba4f8a385c9 /eclass | |
parent | x11-plugins/fsviewer: fix compilation, bug #558696 (diff) | |
download | gentoo-0e50178a73252a9d0b4445fe82b25ddb663799e2.tar.gz gentoo-0e50178a73252a9d0b4445fe82b25ddb663799e2.tar.bz2 gentoo-0e50178a73252a9d0b4445fe82b25ddb663799e2.zip |
php-ext-source-r2.eclass: fix WANT_AUTO{CONF,MAKE} warnings.
This is a real fix for the warnings like,
ac-wrapper: warning: invalid WANT_AUTOCONF 'latest'; ignoring.
reported in bugs #329071 and #549268. In the first of the two, vapier
suggested running $PHPIZE through the autotools_run_tool wrapper, but
this caused builds to fail. In bug #329071, that's where the story
ends.
It turns out, the build failures were due to $PHPIZE containing an
absolute path. Vapier fixed the path handling in autotools.eclass
(commit ecd9954), so now we are able to fix this properly in
php-ext-source-r2.eclass.
Bug: 329071
Bug: 549268
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php-ext-source-r2.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass index ad82feec6c32..de046611ba7e 100644 --- a/eclass/php-ext-source-r2.eclass +++ b/eclass/php-ext-source-r2.eclass @@ -129,10 +129,10 @@ php-ext-source-r2_src_prepare() { # Runs phpize and autotools in addition to the standard src_unpack php-ext-source-r2_phpize() { if [[ "${PHP_EXT_SKIP_PHPIZE}" != 'yes' ]] ; then - # Create configure out of config.m4 - # I wish I could run this to solve #329071, but I cannot - #autotools_run_tool ${PHPIZE} - ${PHPIZE} + # Create configure out of config.m4. We use autotools_run_tool + # to avoid some warnings about WANT_AUTOCONF and + # WANT_AUTOMAKE (see bugs #329071 and #549268). + autotools_run_tool ${PHPIZE} # force run of libtoolize and regeneration of related autotools # files (bug 220519) rm aclocal.m4 |