summaryrefslogtreecommitdiff
path: root/dev-util/pkgconf
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/pkgconf')
-rw-r--r--dev-util/pkgconf/pkgconf-1.3.5.ebuild16
-rw-r--r--dev-util/pkgconf/pkgconf-9999.ebuild16
2 files changed, 22 insertions, 10 deletions
diff --git a/dev-util/pkgconf/pkgconf-1.3.5.ebuild b/dev-util/pkgconf/pkgconf-1.3.5.ebuild
index 8161648cd17..e616d6b2b7c 100644
--- a/dev-util/pkgconf/pkgconf-1.3.5.ebuild
+++ b/dev-util/pkgconf/pkgconf-1.3.5.ebuild
@@ -18,18 +18,24 @@ HOMEPAGE="https://github.com/pkgconf/pkgconf"
LICENSE="BSD-1"
SLOT="0"
-IUSE="+pkg-config"
+IUSE="+pkg-config test"
# tests require 'kyua'
-RESTRICT="test"
+RESTRICT="!test? ( test )"
-DEPEND=""
-RDEPEND="${DEPEND}
+DEPEND="
+ test? (
+ dev-libs/atf
+ dev-util/kyua
+ )
+"
+RDEPEND="
pkg-config? (
!dev-util/pkgconfig
!dev-util/pkg-config-lite
!dev-util/pkgconfig-openbsd[pkg-config]
- )"
+ )
+"
MULTILIB_CHOST_TOOLS=(
/usr/bin/pkgconf
diff --git a/dev-util/pkgconf/pkgconf-9999.ebuild b/dev-util/pkgconf/pkgconf-9999.ebuild
index 8161648cd17..e616d6b2b7c 100644
--- a/dev-util/pkgconf/pkgconf-9999.ebuild
+++ b/dev-util/pkgconf/pkgconf-9999.ebuild
@@ -18,18 +18,24 @@ HOMEPAGE="https://github.com/pkgconf/pkgconf"
LICENSE="BSD-1"
SLOT="0"
-IUSE="+pkg-config"
+IUSE="+pkg-config test"
# tests require 'kyua'
-RESTRICT="test"
+RESTRICT="!test? ( test )"
-DEPEND=""
-RDEPEND="${DEPEND}
+DEPEND="
+ test? (
+ dev-libs/atf
+ dev-util/kyua
+ )
+"
+RDEPEND="
pkg-config? (
!dev-util/pkgconfig
!dev-util/pkg-config-lite
!dev-util/pkgconfig-openbsd[pkg-config]
- )"
+ )
+"
MULTILIB_CHOST_TOOLS=(
/usr/bin/pkgconf