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/php/php-5.2.6-r5.ebuild
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/php/php-5.2.6-r5.ebuild')
-rw-r--r--dev-lang/php/php-5.2.6-r5.ebuild5
1 files changed, 3 insertions, 2 deletions
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