summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/xdebug/ChangeLog6
-rw-r--r--dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild21
2 files changed, 24 insertions, 3 deletions
diff --git a/dev-php5/xdebug/ChangeLog b/dev-php5/xdebug/ChangeLog
index d470316c0907..5c814d1e83fd 100644
--- a/dev-php5/xdebug/ChangeLog
+++ b/dev-php5/xdebug/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php5/xdebug
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xdebug/ChangeLog,v 1.7 2006/10/09 07:08:34 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xdebug/ChangeLog,v 1.8 2006/10/24 07:50:15 sebastian Exp $
+
+ 24 Oct 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ -xdebug-2.0.0_beta6.ebuild, xdebug-2.0.0_rc1.ebuild:
+ Clean up old versions. Enable build of debugclient, closes bug #152589.
*xdebug-2.0.0_rc1 (09 Oct 2006)
diff --git a/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild b/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild
index c2e60f0ae767..a8b7bdaad30d 100644
--- a/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild
+++ b/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild,v 1.1 2006/10/09 07:08:34 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xdebug/xdebug-2.0.0_rc1.ebuild,v 1.2 2006/10/24 07:50:15 sebastian Exp $
PHP_EXT_ZENDEXT="yes"
PHP_EXT_NAME="xdebug"
inherit php-ext-source-r1
-IUSE=""
+IUSE="libedit"
DESCRIPTION="A PHP Debugging and Profiling extension."
HOMEPAGE="http://www.xdebug.org/"
SLOT="0"
@@ -17,10 +17,24 @@ S="${WORKDIR}/xdebug-2.0.0RC1"
LICENSE="Xdebug"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+DEPEND="${DEPEND} libedit? ( || ( dev-libs/libedit sys-freebsd/freebsd-lib ) )"
RDEPEND="${RDEPEND} !dev-php5/ZendOptimizer"
need_php_by_category
+src_compile() {
+ php-ext-source-r1_src_compile
+
+ cd "${S}/debugclient"
+ chmod +x configure
+
+ econf \
+ $(use_with libedit ) \
+ || die "Configure of debug client failed!"
+
+ emake || die "Build of debug client failed!"
+}
+
src_install() {
php-ext-source-r1_src_install
dodoc-php NEWS README Changelog CREDITS LICENSE
@@ -69,4 +83,7 @@ src_install() {
php-ext-base-r1_addtoinifiles "xdebug.idekey" '""'
php-ext-base-r1_addtoinifiles "xdebug.var_display_max_data" '"512"'
php-ext-base-r1_addtoinifiles "xdebug.var_display_max_depth" '"2"'
+
+ cd "${S}/debugclient"
+ newbin debugclient xdebug
}