summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hoffmann <hoffie@gentoo.org>2008-07-20 09:35:46 +0000
committerChristian Hoffmann <hoffie@gentoo.org>2008-07-20 09:35:46 +0000
commit69348ca75730350958c92caa590c535d69336bc2 (patch)
tree5a742549a167aa35eb95f2017423d85503f1358b /dev-lang
parentVersion bump for working around AC_C_BIGENDIAN breakage in autoconf 2.61 (bug... (diff)
downloadgentoo-2-69348ca75730350958c92caa590c535d69336bc2.tar.gz
gentoo-2-69348ca75730350958c92caa590c535d69336bc2.tar.bz2
gentoo-2-69348ca75730350958c92caa590c535d69336bc2.zip
yet another attempt at fixing _GNU_SOURCE-related build problems (configure screws up FFLAGS which isn't used at all, so we stop manipulating it now), bug 230809
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r5 x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/php/ChangeLog7
-rw-r--r--dev-lang/php/php-5.2.6-r5.ebuild5
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-lang/php/ChangeLog b/dev-lang/php/ChangeLog
index 06bb2b3be40f..aa238587e4bf 100644
--- a/dev-lang/php/ChangeLog
+++ b/dev-lang/php/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/php
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/ChangeLog,v 1.279 2008/07/19 14:33:44 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/ChangeLog,v 1.280 2008/07/20 09:35:46 hoffie Exp $
+
+ 20 Jul 2008; Christian Hoffmann <hoffie@gentoo.org> php-5.2.6-r5.ebuild:
+ yet another attempt at fixing _GNU_SOURCE-related build problems
+ (configure screws up FFLAGS which isn't used at all, so we stop
+ manipulating it now), bug 230809
19 Jul 2008; Christian Hoffmann <hoffie@gentoo.org> php-5.2.6-r5.ebuild:
build-time-specific (no revbump): fixing warnings (which sometimes seem to
diff --git a/dev-lang/php/php-5.2.6-r5.ebuild b/dev-lang/php/php-5.2.6-r5.ebuild
index 67af697e99fc..56e133d993a1 100644
--- a/dev-lang/php/php-5.2.6-r5.ebuild
+++ b/dev-lang/php/php-5.2.6-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.2.6-r5.ebuild,v 1.2 2008/07/19 14:33:44 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.2.6-r5.ebuild,v 1.3 2008/07/20 09:35:46 hoffie Exp $
CGI_SAPI_USE="discard-path force-cgi-redirect"
APACHE2_SAPI_USE="concurrentmodphp threads"
@@ -192,7 +192,8 @@ src_unpack() {
src_compile() {
# bug 217392 (autconf-2.62 behavior changes)
- append-flags -D_GNU_SOURCE
+ export CFLAGS="${CFLAGS} -D_GNU_SOURCE"
+ export CXXFLAGS="${CFLAGS} -D_GNU_SOURCE"
if use fastbuild && [[ -n "${FASTBUILD_PATCH}" ]] ; then
src_compile_fastbuild
else