diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-05-31 22:03:56 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-05-31 22:03:56 +0000 |
commit | 0ff9f1f0859fadfc455599b3f110b5c38a7cafd5 (patch) | |
tree | a212ccf319b0f07563dcdb12ba653234823cacc8 /eclass/php5-sapi-r2.eclass | |
parent | games maintains this (diff) | |
download | historical-0ff9f1f0859fadfc455599b3f110b5c38a7cafd5.tar.gz historical-0ff9f1f0859fadfc455599b3f110b5c38a7cafd5.tar.bz2 historical-0ff9f1f0859fadfc455599b3f110b5c38a7cafd5.zip |
Added fixes for gd2 external library support
Diffstat (limited to 'eclass/php5-sapi-r2.eclass')
-rw-r--r-- | eclass/php5-sapi-r2.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass index fb785cf4819b..ff0d50a1340d 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.9 2005/05/31 22:00:59 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.10 2005/05/31 22:03:56 stuart Exp $ # # eclass/php5-sapi-r2.eclass # Eclass for building different php5 SAPI instances @@ -191,9 +191,12 @@ php5-sapi-r2_check_awkward_uses() { enable_extension_with "jpeg-dir" "jpeg" 0 "/usr" if useq gd-external ; then - enable_extension_with "gd" "gd-external" 1 "/usr" + enable_extension_with "freetype-dir" "truetype" 0 "/usr" + enable_extension_with "t1lib" "truetype" 0 "/usr" + enable_extension_enable "gd-native-ttf" "truetype" 0 enable_extension_enable "gd-jis-conf" "nls" 0 enable_extension_enable "gd-native-ttf" "truetype" 0 + enable_extension_with "gd" "gd-external" 1 "/usr" else enable_extension_with "freetype-dir" "truetype" 0 "/usr" enable_extension_with "t1lib" "truetype" 0 "/usr" |