summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-24 01:54:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-24 01:57:01 +0200
commitca9772eb0e7bc9ef7a60408a9edeeee54a7ac955 (patch)
tree5b32947161a855a41d31b327e7a09b9859e855b0
parentapp-backup/untangle-https-backup: new version 0.0.7. (diff)
downloadgentoo-ca9772eb0e7bc9ef7a60408a9edeeee54a7ac955.tar.gz
gentoo-ca9772eb0e7bc9ef7a60408a9edeeee54a7ac955.tar.bz2
gentoo-ca9772eb0e7bc9ef7a60408a9edeeee54a7ac955.zip
dev-util/kdevelop-php: Fix build with test enabled, bug #635164
Unfortunately, kdevplatform[test] installs headers that we need here. Package-Manager: Portage-2.3.12, Repoman-2.3.3
-rw-r--r--dev-util/kdevelop-php/kdevelop-php-5.1.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-util/kdevelop-php/kdevelop-php-5.1.2.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.1.2.ebuild
index 9e4b2a9d9d0b..b2e792507c46 100644
--- a/dev-util/kdevelop-php/kdevelop-php-5.1.2.ebuild
+++ b/dev-util/kdevelop-php/kdevelop-php-5.1.2.ebuild
@@ -17,7 +17,7 @@ LICENSE="GPL-2 LGPL-2"
IUSE=""
[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
-DEPEND="
+COMMON_DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfig)
@@ -36,7 +36,10 @@ DEPEND="
dev-util/kdevelop-pg-qt:5
>=dev-util/kdevplatform-${PV}:${SLOT}
"
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
!dev-util/kdevelop-php-docs
dev-util/kdevelop:5
"
+DEPEND="${COMMON_DEPEND}
+ test? ( >=dev-util/kdevplatform-${PV}:${SLOT}[test] )
+"