summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-03-28 22:57:38 +0000
committerStuart Herbert <stuart@gentoo.org>2004-03-28 22:57:38 +0000
commitbcb800d5ef97ed8938ab95a77796dfd44a83d02f (patch)
tree086bfc9755bdb7ae20056d2a5439538d32e8fb53 /eclass
parentstable on ppc (Manifest recommit) (diff)
downloadgentoo-2-bcb800d5ef97ed8938ab95a77796dfd44a83d02f.tar.gz
gentoo-2-bcb800d5ef97ed8938ab95a77796dfd44a83d02f.tar.bz2
gentoo-2-bcb800d5ef97ed8938ab95a77796dfd44a83d02f.zip
Added gmp support; fix for bug #39425
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-sapi.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass
index 2ebfb853f36a..26f16e129c58 100644
--- a/eclass/php-sapi.eclass
+++ b/eclass/php-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.14 2004/03/28 22:08:56 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.15 2004/03/28 22:57:38 stuart Exp $
# Author: Robin H. Johnson <robbat2@gentoo.org>
inherit eutils flag-o-matic
@@ -38,7 +38,7 @@ fi
# 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"
+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"
# berkdb stuff is complicated
# we need db-1.* for ndbm
@@ -93,7 +93,8 @@ RDEPEND="${RDEPEND}
virtual/mta
sys-apps/file
yaz? ( dev-libs/yaz )
- doc? ( app-doc/php-docs )"
+ doc? ( app-doc/php-docs )
+ gmp? ( dev-libs/gmp )"
# USE structure doesn't support ~x86
@@ -284,6 +285,7 @@ php-sapi_src_compile() {
myconf="${myconf} `use_with snmp snmp /usr`"
use snmp && myconf="${myconf} --enable-ucd-snmp-hack"
use X && myconf="${myconf} --with-xpm-dir=/usr/X11R6" LDFLAGS="${LDFLAGS} -L/usr/X11R6/lib"
+ use gmp && myconf="${myconf} --with-gmp"
# This chunk is intended for png/tiff/jpg, as there are several things that need them, indepentandly!
REQUIREPNG=