diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-08-11 17:00:31 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-08-11 17:00:31 +0000 |
commit | 3dfe53134cfc8c098d0b6771a28edba28f62cd49 (patch) | |
tree | 9ff1aed00ed9e809ce740d47dbf64329fa37a535 /eclass | |
parent | Updated to stable (diff) | |
download | gentoo-2-3dfe53134cfc8c098d0b6771a28edba28f62cd49.tar.gz gentoo-2-3dfe53134cfc8c098d0b6771a28edba28f62cd49.tar.bz2 gentoo-2-3dfe53134cfc8c098d0b6771a28edba28f62cd49.zip |
fix bug #24373
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php.eclass | 15 |
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" |