summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-10-24 07:51:54 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-10-24 07:51:54 +0000
commit5c896a8d3854c7685a0646dacc6eaac451057b2a (patch)
tree50a86d3cec202f2eb492f78c88f3754ba1fd41b3 /dev-php4
parentFix bug #152589. (diff)
downloadhistorical-5c896a8d3854c7685a0646dacc6eaac451057b2a.tar.gz
historical-5c896a8d3854c7685a0646dacc6eaac451057b2a.tar.bz2
historical-5c896a8d3854c7685a0646dacc6eaac451057b2a.zip
Fix bug #152589.
Package-Manager: portage-2.1.2_pre3-r7
Diffstat (limited to 'dev-php4')
-rw-r--r--dev-php4/xdebug/ChangeLog6
-rw-r--r--dev-php4/xdebug/xdebug-2.0.0_rc1.ebuild21
2 files changed, 24 insertions, 3 deletions
diff --git a/dev-php4/xdebug/ChangeLog b/dev-php4/xdebug/ChangeLog
index 5003786f5ea9..e3c66b4e14a9 100644
--- a/dev-php4/xdebug/ChangeLog
+++ b/dev-php4/xdebug/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php4/xdebug
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/xdebug/ChangeLog,v 1.9 2006/10/09 07:09:21 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/xdebug/ChangeLog,v 1.10 2006/10/24 07:51:54 sebastian Exp $
+
+ 24 Oct 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ -xdebug-1.3.2.ebuild, -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-php4/xdebug/xdebug-2.0.0_rc1.ebuild b/dev-php4/xdebug/xdebug-2.0.0_rc1.ebuild
index a7b697ed725e..d95bd64a5d82 100644
--- a/dev-php4/xdebug/xdebug-2.0.0_rc1.ebuild
+++ b/dev-php4/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-php4/xdebug/xdebug-2.0.0_rc1.ebuild,v 1.1 2006/10/09 07:09:21 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/xdebug/xdebug-2.0.0_rc1.ebuild,v 1.2 2006/10/24 07:51:54 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
}