diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-05-22 09:06:58 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-05-22 09:06:58 +0000 |
commit | 7198fcf8f54cd8b46e32daf3192e5391df29ff68 (patch) | |
tree | ee2696e8481bdcc1f9d2d07e1fb8efc5b2c5d7d2 /eclass/php5-sapi-r2.eclass | |
parent | Clarify the man page wording, thanks to Jason Bucata in bug #93294 (diff) | |
download | historical-7198fcf8f54cd8b46e32daf3192e5391df29ff68.tar.gz historical-7198fcf8f54cd8b46e32daf3192e5391df29ff68.tar.bz2 historical-7198fcf8f54cd8b46e32daf3192e5391df29ff68.zip |
Fix for TEXTREL problems w/ PAX
Diffstat (limited to 'eclass/php5-sapi-r2.eclass')
-rw-r--r-- | eclass/php5-sapi-r2.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass index b488602a1b42..0dc93c3a4cac 100644 --- a/eclass/php5-sapi-r2.eclass +++ b/eclass/php5-sapi-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.5 2005/05/17 18:43:28 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.6 2005/05/22 09:06:58 stuart Exp $ # # eclass/php5-sapi-r2.eclass # Eclass for building different php5 SAPI instances @@ -12,7 +12,7 @@ # # ======================================================================== -inherit eutils confutils libtool +inherit flag-o-matic eutils confutils libtool ECLASS=php5-sapi-r2 INHERITED="$INHERITED $ECLASS" @@ -442,6 +442,12 @@ php5-sapi-r2_src_compile() { # optimization/setting stuff my_conf="${my_conf} --enable-versioning" + # fix ELF-related problems + if has_pic ; then + einfo "Enabling PIC support" + my_conf="${my_conf} --with-pic" + fi + # all done econf ${my_conf} || die "configure failed" |