summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-09-05 20:57:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-09-05 20:57:19 +0000
commit12e7f7b4992706eea952568f6824f8c07c017066 (patch)
tree0f973847ebd187c21bb9e318f328e3c9ae7064f5 /eclass
parentadd support for versionzing libs from specific directories (diff)
downloadgentoo-2-12e7f7b4992706eea952568f6824f8c07c017066.tar.gz
gentoo-2-12e7f7b4992706eea952568f6824f8c07c017066.tar.bz2
gentoo-2-12e7f7b4992706eea952568f6824f8c07c017066.zip
cleanup slightly with for cpdf/mcve USE flag dependancies.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-ext-base.eclass3
-rw-r--r--eclass/php-ext-source.eclass4
-rw-r--r--eclass/php-ext.eclass3
-rw-r--r--eclass/php5-sapi.eclass12
4 files changed, 13 insertions, 9 deletions
diff --git a/eclass/php-ext-base.eclass b/eclass/php-ext-base.eclass
index 49706738b588..840006a40d47 100644
--- a/eclass/php-ext-base.eclass
+++ b/eclass/php-ext-base.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-ext-base.eclass,v 1.14 2004/08/03 05:49:25 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base.eclass,v 1.15 2004/09/05 20:57:19 robbat2 Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
@@ -73,6 +73,7 @@ php-ext-base_buildinilist () {
}
php-ext-base_src_install() {
+ addpredict /usr/share/snmp/mibs/.index
php-ext-base_buildinilist
if [ "$PHP_EXT_INI" = "yes" ] ; then
php-ext-base_addextension "${PHP_EXT_NAME}.so"
diff --git a/eclass/php-ext-source.eclass b/eclass/php-ext-source.eclass
index 1090ebc2383b..467ba71dbd02 100644
--- a/eclass/php-ext-source.eclass
+++ b/eclass/php-ext-source.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-ext-source.eclass,v 1.8 2004/07/06 22:24:47 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source.eclass,v 1.9 2004/09/05 20:57:19 robbat2 Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
@@ -36,6 +36,7 @@ RDEPEND="${RDEPEND}
virtual/php"
php-ext-source_src_compile() {
+ addpredict /usr/share/snmp/mibs/.index
#phpize creates configure out of config.m4
phpize
econf $myconf
@@ -43,6 +44,7 @@ php-ext-source_src_compile() {
}
php-ext-source_src_install() {
+ addpredict /usr/share/snmp/mibs/.index
chmod +x build/shtool
insinto $EXT_DIR
doins modules/$PHP_EXT_NAME.so
diff --git a/eclass/php-ext.eclass b/eclass/php-ext.eclass
index e98439de1a61..cc71798f82f5 100644
--- a/eclass/php-ext.eclass
+++ b/eclass/php-ext.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-ext.eclass,v 1.6 2004/06/25 00:39:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext.eclass,v 1.7 2004/09/05 20:57:19 robbat2 Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
#
@@ -60,6 +60,7 @@ php-ext_buildinilist () {
}
php-ext_src_compile() {
+ addpredict /usr/share/snmp/mibs/.index
#phpize creates configure out of config.m4
phpize
econf $myconf
diff --git a/eclass/php5-sapi.eclass b/eclass/php5-sapi.eclass
index 4e61ee6a33e7..92bea7ccdb9a 100644
--- a/eclass/php5-sapi.eclass
+++ b/eclass/php5-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/php5-sapi.eclass,v 1.26 2004/08/22 00:49:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.27 2004/09/05 20:57:19 robbat2 Exp $
#
# eclass/php5-sapi.eclass
# Eclass for building different php5 SAPI instances
@@ -167,6 +167,7 @@ php5-sapi_check_awkward_uses () {
enable_extension_enable "dbx" "dbx" 1
fi
+ enable_extension_with "jpeg-dir" "jpeg" 0 "/usr"
if useq gd-external ; then
enable_extension_with "gd" "gd-external" 1 "/usr"
enable_extension_enable "gd-jis-conf" "nls" 0
@@ -176,7 +177,6 @@ php5-sapi_check_awkward_uses () {
enable_extension_with "t1lib" "truetype" 0 "/usr"
enable_extension_enable "gd-jis-conf" "nls" 0
enable_extension_enable "gd-native-ttf" "truetype" 0
- enable_extension_with "jpeg-dir" "jpeg" 0 "/usr"
enable_extension_with "png-dir" "png" 0 "/usr"
enable_extension_with "tiff-dir" "tiff" 0 "/usr"
enable_extension_with "xpm-dir" "xpm" 0 "/usr/X11R6/lib"
@@ -184,7 +184,7 @@ php5-sapi_check_awkward_uses () {
enable_extension_with "gd" "gd" 0
fi
- confutils_use_depend_any "jpeg" "gd" "gd-external"
+ confutils_use_depend_any "jpeg" "gd" "gd-external" "cpdflib"
confutils_use_depend_any "png" "gd" "gd-external"
confutils_use_depend_any "tiff" "gd" "gd-external"
confutils_use_depend_any "xpm" "gd" "gd-external"
@@ -340,8 +340,7 @@ php5-sapi_src_compile () {
enable_extension_enable "bcmath" "bcmath" 1
enable_extension_with "bz2" "bzlib" 1
enable_extension_enable "calendar" "calendar" 1
- enable_extension_with "jpeg-dir" "cpdflib" 0 "/usr"
- enable_extension_with "cpdflib" "cpdflib" 1
+ enable_extension_with "cpdflib" "cpdflib" 1 # depends on jpeg
enable_extension_disable "ctype" "ctype" 0
enable_extension_with "curl" "curl" 1
enable_extension_with "curlwrappers" "curlwrappers" 1
@@ -365,7 +364,6 @@ php5-sapi_src_compile () {
enable_extension_disable "libxml" "xml2" 0
enable_extension_enable "mbstring" "nls" 1
enable_extension_with "mcrypt" "crypt" 1
- enable_extension_with "openssl-dir" "mcve" 0 "/usr"
enable_extension_with "mcve" "mcve" 1
enable_extension_enable "memory-limit" "memlimit" 0
enable_extension_with "mhash" "mhash" 1
@@ -378,6 +376,7 @@ php5-sapi_src_compile () {
enable_extension_with "oci8" "oci8" 1
enable_extension_with "oracle" "oracle7" 1
enable_extension_with "openssl" "ssl" 1
+ enable_extension_with "openssl-dir" "ssl" 0 "/usr"
enable_extension_with "ovrimos" "ovrimos" 1
enable_extension_enable "pcntl" "pcntl" 1
enable_extension_without "pcre-regx" "pcre" 1
@@ -497,3 +496,4 @@ php5-sapi_pkg_postinst() {
mkdir -p ${PEAR_CACHE}
chmod 1777 ${PEAR_CACHE}
}
+