summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-08-11 17:00:31 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-08-11 17:00:31 +0000
commit5b0bef3b6aacab96cf11428cbe63639fc29e059f (patch)
tree5cfa8d2344ddc79e64adea9440dbfc0bddbec694 /eclass
parentUpdated to stable (diff)
downloadhistorical-5b0bef3b6aacab96cf11428cbe63639fc29e059f.tar.gz
historical-5b0bef3b6aacab96cf11428cbe63639fc29e059f.tar.bz2
historical-5b0bef3b6aacab96cf11428cbe63639fc29e059f.zip
fix bug #24373
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php.eclass15
1 files changed, 11 insertions, 4 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index b6a26e9ad6e4..0fa86bec3348 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.72 2003/08/11 07:50:33 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.73 2003/08/11 17:00:31 robbat2 Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -162,9 +162,6 @@ fi
PHPINIDIRECTORY="/etc/php/${PHPSAPI}-php${PHPMAJORVER}"
PHPINIFILENAME="php.ini"
-#fixes bug #14067
-replace-flags "-march=k6*" "-march=i586"
-
php_check_java_config() {
JDKHOME="`java-config --jdk-home`"
NOJDKERROR="You need to use java-config to set your JVM to a JDK!"
@@ -384,6 +381,16 @@ php_src_compile() {
--enable-versioning \
--with-config-file-path=${PHPINIDIRECTORY}"
+ #fixes bug #24373
+ filter-flags "-D_FILE_OFFSET_BITS=64"
+ filter-flags "-D_FILE_OFFSET_BITS=32"
+ filter-flags "-D_LARGEFILE_SOURCE=1"
+ filter-flags "-D_LARGEFILE_SOURCE"
+ #fixes bug #14067
+ replace-flags "-march=k6" "-march=i586"
+ replace-flags "-march=k6-2" "-march=i586"
+ replace-flags "-march=k6-3" "-march=i586"
+
LIBS="${LIBS}" econf \
${myconf} || die "bad ./configure"