diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-16 22:26:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-16 22:26:07 +0000 |
commit | 6909d3d213b1ac3bb2a21629ff2a6c82ab7bd613 (patch) | |
tree | 6afc2e9db17747095596def695b4c93fde8c4956 /eclass/php.eclass | |
parent | proper libgd support (diff) | |
download | historical-6909d3d213b1ac3bb2a21629ff2a6c82ab7bd613.tar.gz historical-6909d3d213b1ac3bb2a21629ff2a6c82ab7bd613.tar.bz2 historical-6909d3d213b1ac3bb2a21629ff2a6c82ab7bd613.zip |
wait! one less gd thought ;)
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r-- | eclass/php.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass index e2d8940172b0..d1ab42c83445 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.48 2003/06/16 22:25:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.49 2003/06/16 22:26:07 vapier 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 @@ -252,10 +252,10 @@ php_src_compile() { myconf="${myconf} `use_enable memlimit memory-limit`" myconf="${myconf} `use_enable cjk mbstring` `use_enable cjk mbregex`" - if [ `use gd` ] ; then - myconf="${myconf} --with-gd=/usr" - elif [ `use gd-bundled` ] ; then + if [ `use gd-bundled` ] ; then myconf="${myconf} --with-gd" + elif [ `use gd` ] ; then + myconf="${myconf} --with-gd=/usr" else myconf="${myconf} --without-gd" fi |