summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2019-06-15 20:08:17 -0400
committerNick Sarnie <sarnex@gentoo.org>2019-06-15 20:08:17 -0400
commitddc2c0ab491c99ea9299ce7e198b73e2beffdfb9 (patch)
tree3fdfacf7b382109b84c3d4de05910d9b9f4fc56b /dev-util/spirv-tools
parentdev-util/spirv-tools: Drop old (diff)
downloadgentoo-ddc2c0ab491c99ea9299ce7e198b73e2beffdfb9.tar.gz
gentoo-ddc2c0ab491c99ea9299ce7e198b73e2beffdfb9.tar.bz2
gentoo-ddc2c0ab491c99ea9299ce7e198b73e2beffdfb9.zip
dev-util/spirv-tools: Fix spirv-headers dependency
Just shoot me Bug: https://bugs.gentoo.org/show_bug.cgi?id=688136 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r--dev-util/spirv-tools/spirv-tools-2019.1-r2.ebuild5
-rw-r--r--dev-util/spirv-tools/spirv-tools-9999.ebuild6
2 files changed, 6 insertions, 5 deletions
diff --git a/dev-util/spirv-tools/spirv-tools-2019.1-r2.ebuild b/dev-util/spirv-tools/spirv-tools-2019.1-r2.ebuild
index 57c340b2d99f..3288e3612782 100644
--- a/dev-util/spirv-tools/spirv-tools-2019.1-r2.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-2019.1-r2.ebuild
@@ -17,10 +17,11 @@ KEYWORDS="~amd64 ~x86"
# in the generated library. Easily hit with non-standard compiler flags
RESTRICT="test"
-DEPEND=""
+COMMON_DEPEND=">=dev-util/spirv-headers-1.3.4_pre20190302"
+DEPEND="${COMMON_DEPEND}"
RDEPEND=""
BDEPEND="${PYTHON_DEPS}
- >=dev-util/spirv-headers-1.3.4_pre20190302"
+ ${COMMON_DEPEND}"
EGIT_COMMIT="2297d4a3dfcbfd2a8b4312fab055ae26e3289fd3"
S="${WORKDIR}/SPIRV-Tools-${PV}"
diff --git a/dev-util/spirv-tools/spirv-tools-9999.ebuild b/dev-util/spirv-tools/spirv-tools-9999.ebuild
index 07ff87f02689..416dca93c58c 100644
--- a/dev-util/spirv-tools/spirv-tools-9999.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-9999.ebuild
@@ -16,11 +16,11 @@ SLOT="0"
# Tests fail upon finding symbols that do not match a regular expression
# in the generated library. Easily hit with non-standard compiler flags
RESTRICT="test"
-
-DEPEND=""
+COMMON_DEPEND=">=dev-util/spirv-headers-1.3.4_pre20190302"
+DEPEND="${COMMON_DEPEND}"
RDEPEND=""
BDEPEND="${PYTHON_DEPS}
- >=dev-util/spirv-headers-1.3.4_pre20190302"
+ ${COMMON_DEPEND}"
multilib_src_configure() {
local mycmakeargs=(