summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2005-11-24 21:32:49 +0000
committerLuca Longinotti <chtekk@gentoo.org>2005-11-24 21:32:49 +0000
commite9da7764a5097bcf74aa550bccd754224622f02d (patch)
tree9f32796eba479e456106cc41b897bab9066a53ed /dev-php4
parentStable on ppc64 (diff)
downloadgentoo-2-e9da7764a5097bcf74aa550bccd754224622f02d.tar.gz
gentoo-2-e9da7764a5097bcf74aa550bccd754224622f02d.tar.bz2
gentoo-2-e9da7764a5097bcf74aa550bccd754224622f02d.zip
Sync with PHP overlay.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-php4')
-rw-r--r--dev-php4/pecl-apc/ChangeLog5
-rw-r--r--dev-php4/pecl-apc/Manifest6
-rw-r--r--dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild11
3 files changed, 14 insertions, 8 deletions
diff --git a/dev-php4/pecl-apc/ChangeLog b/dev-php4/pecl-apc/ChangeLog
index 2f1b263d8735..031c96e74fed 100644
--- a/dev-php4/pecl-apc/ChangeLog
+++ b/dev-php4/pecl-apc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-php4/pecl-apc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.3 2005/11/19 20:36:12 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.4 2005/11/24 21:32:49 chtekk Exp $
+
+ 24 Nov 2005; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.8.ebuild:
+ Sync with PHP overlay.
19 Nov 2005; Markus Rothe <corsair@gentoo.org> pecl-apc-3.0.8.ebuild:
Added ~ppc64 keyword; bug #102649
diff --git a/dev-php4/pecl-apc/Manifest b/dev-php4/pecl-apc/Manifest
index 50a5ba59e4b7..d0db941e5520 100644
--- a/dev-php4/pecl-apc/Manifest
+++ b/dev-php4/pecl-apc/Manifest
@@ -1,4 +1,4 @@
-MD5 35ef09816ac7850de5c3d9b7dc68d6bf ChangeLog 511
-MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
-MD5 cac381758e634923b7a59568ae4713dc pecl-apc-3.0.8.ebuild 2207
+MD5 aea3e27fc9b9d128073bd3ca0fde0532 ChangeLog 611
MD5 66795850fe4fb57f021182ccdd3e3203 files/digest-pecl-apc-3.0.8 57
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 4c91c5671c58084e4ed86fc49e736a7e pecl-apc-3.0.8.ebuild 2226
diff --git a/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild b/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild
index 858589bfaa7e..6a2bda462600 100644
--- a/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild
+++ b/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild
@@ -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/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild,v 1.3 2005/11/19 20:36:12 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/pecl-apc-3.0.8.ebuild,v 1.4 2005/11/24 21:32:49 chtekk Exp $
PHP_EXT_ZENDEXT="no"
PHP_EXT_PECL_PKG="APC"
@@ -20,6 +20,8 @@ DEPEND="${DEPEND}
need_php_by_category
pkg_setup() {
+ has_php
+
require_php_sapi_from cgi apache apache2
}
@@ -39,12 +41,13 @@ src_compile() {
enable_extension_enable "apc-mmap" "mmap" 0
enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2"
enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1"
+
php-ext-pecl-r1_src_compile
}
src_install() {
php-ext-pecl-r1_src_install
- dodoc CHANGELOG INSTALL LICENSE NOTICE
+ dodoc-php CHANGELOG INSTALL LICENSE NOTICE
php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
@@ -59,8 +62,8 @@ src_install() {
php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
- dodir ${PHP_EXT_SHARED_DIR}
- insinto ${PHP_EXT_SHARED_DIR}
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
doins apc.php
}