summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/php-pear-r1.eclass')
-rw-r--r--eclass/php-pear-r1.eclass14
1 files changed, 2 insertions, 12 deletions
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass
index f1b1c552b92c..472b0bba43ec 100644
--- a/eclass/php-pear-r1.eclass
+++ b/eclass/php-pear-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.24 2010/03/31 20:37:56 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.25 2010/07/13 23:48:47 mabi Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Luca Longinotti <chtekk@gentoo.org>
@@ -60,17 +60,7 @@ php-pear-r1_src_install() {
addpredict /var/lib/net-snmp/
addpredict /session_mm_cli0.sem
- case "${CATEGORY}" in
- dev-php)
- if has_version '=dev-lang/php-5*' ; then
- PHP_BIN="/usr/$(get_libdir)/php5/bin/php"
- else
- PHP_BIN="/usr/$(get_libdir)/php4/bin/php"
- fi ;;
- dev-php4) PHP_BIN="/usr/$(get_libdir)/php4/bin/php" ;;
- dev-php5) PHP_BIN="/usr/$(get_libdir)/php5/bin/php" ;;
- *) die "Version of PHP required by packages in category ${CATEGORY} unknown"
- esac
+ PHP_BIN="/usr/$(get_libdir)/php5/bin/php" ;;
cd "${S}"