diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-07-15 04:15:30 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-07-15 04:15:30 +0000 |
commit | c3aff49cf50c83d9fb8df33955bfb1a85f27dfd9 (patch) | |
tree | 24d19a186a51ae5e34a4560a6c74387c8b89a597 /eclass/php-sapi.eclass | |
parent | Adding support for DB 4.1, closing bugs #34152 and #44546 (Manifest recommit) (diff) | |
download | gentoo-2-c3aff49cf50c83d9fb8df33955bfb1a85f27dfd9.tar.gz gentoo-2-c3aff49cf50c83d9fb8df33955bfb1a85f27dfd9.tar.bz2 gentoo-2-c3aff49cf50c83d9fb8df33955bfb1a85f27dfd9.zip |
add warning message for mssql/freetds weirdness.
Diffstat (limited to 'eclass/php-sapi.eclass')
-rw-r--r-- | eclass/php-sapi.eclass | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass index 6c5c71ba12da..b4160db114ba 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.42 2004/07/14 16:09:18 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.43 2004/07/15 04:15:30 robbat2 Exp $ # Author: Robin H. Johnson <robbat2@gentoo.org> inherit eutils flag-o-matic @@ -236,6 +236,7 @@ php-sapi_check_java_config() { } php-sapi_src_unpack() { + php-sapi_warning_mssql_freetds # this is obsolete # use xml || \ # ( ewarn "You have the xml USE flag turned off. Previously this" @@ -631,6 +632,7 @@ php-sapi_pkg_preinst() { php-sapi_pkg_postinst() { einfo "The INI file for this build is ${PHPINIDIRECTORY}/php.ini" + php-sapi_warning_mssql_freetds if has_version 'dev-php/php-core'; then ewarn "The dev-php/php-core package is now obsolete. You should unmerge" ewarn "it, and re-merge >=dev-php/php-4.3.4-r2 afterwards to ensure" @@ -648,3 +650,10 @@ php-sapi_securityupgrade() { einfo "However it is not critical for your machine" fi } + +php-sapi_warning_mssql_freetds() { + ewarn "If you have both freetds and mssql in your USE flags, parts of PHP" + ewarn "may not behave correctly, or may give strange warnings. You have" + ewarn "been warned! It's recommended that you pick ONE of them. For sybase" + ewarn "support, chose 'freetds'. For mssql support choose 'mssql'." +} |