summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-08-18 22:49:43 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-08-18 22:49:43 +0000
commitb8555ea403ea291abba31112631a17a7ee7f3f02 (patch)
tree53329cc2538a28b3a618d29642e1060e7e8ca911 /dev-php5/phing
parentFix ghostscript detection with gs-sp thanks to Sebastian Bergmann <sebastian@... (diff)
downloadgentoo-2-b8555ea403ea291abba31112631a17a7ee7f3f02.tar.gz
gentoo-2-b8555ea403ea291abba31112631a17a7ee7f3f02.tar.bz2
gentoo-2-b8555ea403ea291abba31112631a17a7ee7f3f02.zip
Fix needed USE flags.
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'dev-php5/phing')
-rw-r--r--dev-php5/phing/ChangeLog6
-rw-r--r--dev-php5/phing/files/digest-phing-2.1.12
-rw-r--r--dev-php5/phing/metadata.xml2
-rw-r--r--dev-php5/phing/phing-2.1.1.ebuild17
4 files changed, 22 insertions, 5 deletions
diff --git a/dev-php5/phing/ChangeLog b/dev-php5/phing/ChangeLog
index 1ea2619cb7c2..0063aa46e04b 100644
--- a/dev-php5/phing/ChangeLog
+++ b/dev-php5/phing/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php5/phing
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/phing/ChangeLog,v 1.3 2006/02/16 19:08:43 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/phing/ChangeLog,v 1.4 2006/08/18 22:49:43 chtekk Exp $
+
+ 18 Aug 2006; Luca Longinotti <chtekk@gentoo.org> metadata.xml,
+ phing-2.1.1.ebuild:
+ Fix needed USE flags.
*phing-2.1.1 (04 Jan 2006)
diff --git a/dev-php5/phing/files/digest-phing-2.1.1 b/dev-php5/phing/files/digest-phing-2.1.1
index fd2dee997605..89ab2352dfa3 100644
--- a/dev-php5/phing/files/digest-phing-2.1.1
+++ b/dev-php5/phing/files/digest-phing-2.1.1
@@ -1 +1,3 @@
MD5 1528b5e0ddcabbde20a528aeef6c605f phing-2.1.1.tgz 361527
+RMD160 1258e0b1a39ec680390ea29124bfd2dd44860ae7 phing-2.1.1.tgz 361527
+SHA256 563dcca8ab5890d738efb3852d44b1047f69b3f6c6d73e1b897de0bdb4372ff1 phing-2.1.1.tgz 361527
diff --git a/dev-php5/phing/metadata.xml b/dev-php5/phing/metadata.xml
index 40dbb4c4bbaf..fd3dbe39fa64 100644
--- a/dev-php5/phing/metadata.xml
+++ b/dev-php5/phing/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>php</herd>
+ <herd>php</herd>
</pkgmetadata>
diff --git a/dev-php5/phing/phing-2.1.1.ebuild b/dev-php5/phing/phing-2.1.1.ebuild
index ca5dbeadec9f..76af7bff4a04 100644
--- a/dev-php5/phing/phing-2.1.1.ebuild
+++ b/dev-php5/phing/phing-2.1.1.ebuild
@@ -1,15 +1,26 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/phing/phing-2.1.1.ebuild,v 1.1 2006/01/04 11:28:45 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/phing/phing-2.1.1.ebuild,v 1.2 2006/08/18 22:49:43 chtekk Exp $
inherit php-pear-lib-r1
+KEYWORDS="~amd64 ~x86"
DESCRIPTION="PHP project build system based on Apache Ant."
HOMEPAGE="http://www.phing.info/"
+SRC_URI="http://phing.info/pear/phing-${PV}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
IUSE=""
-SRC_URI="http://phing.info/pear/phing-${PV}.tgz"
need_php_by_category
+
+pkg_setup() {
+ has_php
+
+ # Phing requires some features from PHP to work correctly
+ if has_version '>=dev-lang/php-5.1.2' ; then
+ require_php_with_use cli spl reflection xml xsl
+ else
+ require_php_with_use cli spl xml xsl
+ fi
+}