summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-06-16 22:26:07 +0000
committerMike Frysinger <vapier@gentoo.org>2003-06-16 22:26:07 +0000
commit4ba084995901e06d8f71b86b38bdf560bfbd7afc (patch)
treed76ba8cd9fc7faeb6cee464694d696dd011cb793 /eclass/php.eclass
parentproper libgd support (diff)
downloadgentoo-2-4ba084995901e06d8f71b86b38bdf560bfbd7afc.tar.gz
gentoo-2-4ba084995901e06d8f71b86b38bdf560bfbd7afc.tar.bz2
gentoo-2-4ba084995901e06d8f71b86b38bdf560bfbd7afc.zip
wait! one less gd thought ;)
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r--eclass/php.eclass8
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