diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-09-15 07:45:15 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-09-15 07:45:15 +0000 |
commit | 35ba82025db4334fc32ea548de4bbca9bbbb5447 (patch) | |
tree | b59d10d9b213a569e103d3c11a9c5c3255f69ad2 /eclass | |
parent | Release Candidate 1! Yay! (Manifest recommit) (diff) | |
download | gentoo-2-35ba82025db4334fc32ea548de4bbca9bbbb5447.tar.gz gentoo-2-35ba82025db4334fc32ea548de4bbca9bbbb5447.tar.bz2 gentoo-2-35ba82025db4334fc32ea548de4bbca9bbbb5447.zip |
Bug #62280 add ttf support. Bug #63981 add debug support.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php-sapi.eclass | 10 | ||||
-rw-r--r-- | eclass/php5-sapi.eclass | 16 |
2 files changed, 16 insertions, 10 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass index 1443986ce38e..cf7f15f09fb8 100644 --- a/eclass/php-sapi.eclass +++ b/eclass/php-sapi.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.48 2004/08/22 00:49:11 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.49 2004/09/15 07:45:15 robbat2 Exp $ # Author: Robin H. Johnson <robbat2@gentoo.org> inherit eutils flag-o-matic @@ -45,7 +45,7 @@ SRC_URI="${SRC_URI} mirror://gentoo/php-4.3.6-includepath.diff http://dev.gentoo # Where we work S=${WORKDIR}/${MY_P} -IUSE="${IUSE} X crypt curl firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdflib png postgres qt snmp spell ssl tiff truetype xml2 yaz fdftk doc gmp kerberos hardenedphp mssql" +IUSE="${IUSE} X crypt curl firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdflib png postgres qt snmp spell ssl tiff truetype xml2 yaz fdftk doc gmp kerberos hardenedphp mssql debug" # Hardened-PHP support # @@ -146,7 +146,7 @@ fi # These are extra bits we need only at compile time DEPEND="${RDEPEND} ${DEPEND} imap? ( virtual/imap-c-client ) - mcal? ( dev-libs/libmcal )" + mcal? ( dev-libs/libmcal !=dev-libs/libmcal-0.7-r2 )" #9libs causes a configure error DEPEND="${DEPEND} !dev-libs/9libs" #dev-libs/libiconv causes a compile failure @@ -394,7 +394,7 @@ php-sapi_src_compile() { myconf="${myconf} `use_with kerberos kerberos /usr` `use_with pam`" myconf="${myconf} `use_enable memlimit memory-limit`" myconf="${myconf} `use_enable ipv6`" - myconf="${myconf} `use_with yaz`" + myconf="${myconf} `use_with yaz` `use_enable debug`" if use curl; then myconf="${myconf} --with-curlwrappers --with-curl=/usr" else @@ -638,6 +638,8 @@ php-sapi_pkg_postinst() { ewarn "it, and re-merge >=dev-php/php-4.3.4-r2 afterwards to ensure" ewarn "your PHP installation is consistant." fi + ewarn "If you have additional third party PHP extensions (such as" + ewarn "dev-php/turck-mmcache) you may need to recompile them now." } php-sapi_securityupgrade() { diff --git a/eclass/php5-sapi.eclass b/eclass/php5-sapi.eclass index 92bea7ccdb9a..38bc1ae6495a 100644 --- a/eclass/php5-sapi.eclass +++ b/eclass/php5-sapi.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.27 2004/09/05 20:57:19 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.28 2004/09/15 07:45:15 robbat2 Exp $ # # eclass/php5-sapi.eclass # Eclass for building different php5 SAPI instances @@ -23,7 +23,7 @@ HOMEPAGE="http://www.php.net/" LICENSE="PHP-3" SRC_URI="http://www.php.net/distributions/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" -IUSE="${IUSE} adabas bcmath berkdb birdstep bzlib calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres interbase iodbc jpeg ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session shared sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" +IUSE="${IUSE} adabas bcmath berkdb birdstep bzlib calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres interbase iodbc jpeg ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session shared sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" # these USE flags should have the correct dependencies DEPEND="$DEPEND @@ -66,11 +66,11 @@ DEPEND="$DEPEND sybase? ( dev-db/freetds ) tidy? ( app-text/htmltidy ) tiff? ( media-libs/tiff ) - truetype? ( media-libs/freetype >=media-libs/t1lib-5.0.0 ) + truetype? ( =media-libs/freetype-1* =media-libs/freetype-2* >=media-libs/t1lib-5.0.0 ) wddx? ( dev-libs/expat ) xpm? ( virtual/x11 ) xsl? ( dev-libs/libxslt ) - zlib? ( sys-libs/zlib )" + zlib? ( sys-libs/zlib ) " # this would be xml2?, but PEAR requires XML support # and we always want to build PEAR. @@ -175,6 +175,7 @@ php5-sapi_check_awkward_uses () { else enable_extension_with "freetype-dir" "truetype" 0 "/usr" enable_extension_with "t1lib" "truetype" 0 "/usr" + enable_extension_with "ttf" "truetype" 0 "/usr" enable_extension_enable "gd-jis-conf" "nls" 0 enable_extension_enable "gd-native-ttf" "truetype" 0 enable_extension_with "png-dir" "png" 0 "/usr" @@ -229,7 +230,7 @@ php5-sapi_check_awkward_uses () { # both provide the same functionality confutils_use_conflict "readline" "libedit" # Recode is not liked. - confutils_use_conflict "recode" "mysql" "imap" "nis" # "yaz" + confutils_use_conflict "recode" "mysql" "imap" "nis" #"yaz" if ! useq session ; then enable_extension_disable "session" "session" 1 @@ -404,11 +405,11 @@ php5-sapi_src_compile () { enable_extension_with "xmlrpc" "xmlrpc" 1 enable_extension_enable "yp" "nis" 1 enable_extension_with "zlib" "zlib" 1 + enable_extension_enable "debug" "debug" 0 php5-sapi_check_awkward_uses # DBA support - enable_extension_enable "dba" "dba" 1 # readline support @@ -495,5 +496,8 @@ php5-sapi_pkg_postinst() { # and is usable mkdir -p ${PEAR_CACHE} chmod 1777 ${PEAR_CACHE} + + ewarn "If you have additional third party PHP extensions (such as" + ewarn "dev-php/turck-mmcache) you may need to recompile them now." } |