diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2007-03-19 13:16:19 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2007-03-19 13:16:19 +0000 |
commit | 614437e77eda6bb4a66d5554b121741a3b3a0376 (patch) | |
tree | e721eb79b7e09ce6f8ac5f4f849418f9083ae1c8 /dev-php5 | |
parent | Remove pfeifer from metadata.xml due to retirement. (diff) | |
download | gentoo-2-614437e77eda6bb4a66d5554b121741a3b3a0376.tar.gz gentoo-2-614437e77eda6bb4a66d5554b121741a3b3a0376.tar.bz2 gentoo-2-614437e77eda6bb4a66d5554b121741a3b3a0376.zip |
Fix LDFLAGS usage.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/pecl-mcve/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2-r1 (renamed from dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2) | 0 | ||||
-rw-r--r-- | dev-php5/pecl-mcve/files/pecl-mcve-5.2.2-ldflagsfix.patch | 10 | ||||
-rw-r--r-- | dev-php5/pecl-mcve/pecl-mcve-5.2.2-r1.ebuild (renamed from dev-php5/pecl-mcve/pecl-mcve-5.2.2.ebuild) | 11 |
4 files changed, 28 insertions, 2 deletions
diff --git a/dev-php5/pecl-mcve/ChangeLog b/dev-php5/pecl-mcve/ChangeLog index 96fcd114095c..00e04a22b9ac 100644 --- a/dev-php5/pecl-mcve/ChangeLog +++ b/dev-php5/pecl-mcve/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-php5/pecl-mcve # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mcve/ChangeLog,v 1.18 2007/03/18 00:13:10 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mcve/ChangeLog,v 1.19 2007/03/19 13:16:19 chtekk Exp $ + +*pecl-mcve-5.2.2-r1 (19 Mar 2007) + + 19 Mar 2007; Luca Longinotti <chtekk@gentoo.org> + +files/pecl-mcve-5.2.2-ldflagsfix.patch, -pecl-mcve-5.2.2.ebuild, + +pecl-mcve-5.2.2-r1.ebuild: + Fix wrong LDFLAGS usage. 18 Mar 2007; Luca Longinotti <chtekk@gentoo.org> pecl-mcve-5.2.0.ebuild, pecl-mcve-5.2.2.ebuild: diff --git a/dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2 b/dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2-r1 index e8c642bc5474..e8c642bc5474 100644 --- a/dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2 +++ b/dev-php5/pecl-mcve/files/digest-pecl-mcve-5.2.2-r1 diff --git a/dev-php5/pecl-mcve/files/pecl-mcve-5.2.2-ldflagsfix.patch b/dev-php5/pecl-mcve/files/pecl-mcve-5.2.2-ldflagsfix.patch new file mode 100644 index 000000000000..ffe503fb6e97 --- /dev/null +++ b/dev-php5/pecl-mcve/files/pecl-mcve-5.2.2-ldflagsfix.patch @@ -0,0 +1,10 @@ +--- config.m4 2007-03-19 14:10:07.000000000 +0100 ++++ config.m4 2007-03-19 14:10:50.000000000 +0100 +@@ -166,7 +166,6 @@ + LIBM_CFLAGS="$LIBM_CFLAGS -I$krb5headers" + fi + CFLAGS="$CFLAGS $LIBM_CFLAGS" +- LDFLAGS="$CFLAGS $LIBM_LDFLAGS" + + PHP_NEW_EXTENSION(mcve, mcve.c, $ext_shared) + PHP_SUBST(MCVE_SHARED_LIBADD) diff --git a/dev-php5/pecl-mcve/pecl-mcve-5.2.2.ebuild b/dev-php5/pecl-mcve/pecl-mcve-5.2.2-r1.ebuild index fcb034eb2ce7..4f911ee82591 100644 --- a/dev-php5/pecl-mcve/pecl-mcve-5.2.2.ebuild +++ b/dev-php5/pecl-mcve/pecl-mcve-5.2.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mcve/pecl-mcve-5.2.2.ebuild,v 1.3 2007/03/18 00:13:10 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mcve/pecl-mcve-5.2.2-r1.ebuild,v 1.1 2007/03/19 13:16:19 chtekk Exp $ PHP_EXT_NAME="mcve" PHP_EXT_INI="yes" @@ -26,6 +26,15 @@ pkg_setup() { require_php_with_use ssl } +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix incorrect LDFLAGS usage in config.m4 + # (breaks concurrentmodphp) + epatch "${FILESDIR}/${P}-ldflagsfix.patch" +} + src_compile() { my_conf="--with-mcve --with-openssl-dir=/usr" php-ext-pecl-r1_src_compile |