1 |
commit: 444a15f59bb58d7f297a5e1758e53fbdf8955638 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 09:43:20 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 09:53:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444a15f5 |
7 |
|
8 |
dev-libs/optix: fix overlooked use check and use ver_cut |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
dev-libs/optix/optix-7.4.0.ebuild | 4 ++-- |
13 |
dev-libs/optix/optix-7.5.0.ebuild | 4 ++-- |
14 |
2 files changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/optix/optix-7.4.0.ebuild b/dev-libs/optix/optix-7.4.0.ebuild |
17 |
index 83f7282d967c..35e765e6ee3b 100644 |
18 |
--- a/dev-libs/optix/optix-7.4.0.ebuild |
19 |
+++ b/dev-libs/optix/optix-7.4.0.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=8 |
23 |
|
24 |
-MY_PV=${PV:0:3} |
25 |
+MY_PV=$(ver_cut 1-2) |
26 |
|
27 |
DESCRIPTION="NVIDIA Ray Tracing Engine" |
28 |
HOMEPAGE="https://developer.nvidia.com/optix" |
29 |
@@ -73,7 +73,7 @@ src_install() { |
30 |
insinto /opt/${PN} |
31 |
doins -r include |
32 |
|
33 |
- if use !header-only; then |
34 |
+ if use !headers-only; then |
35 |
DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf ) |
36 |
einstalldocs |
37 |
fi |
38 |
|
39 |
diff --git a/dev-libs/optix/optix-7.5.0.ebuild b/dev-libs/optix/optix-7.5.0.ebuild |
40 |
index 83f7282d967c..35e765e6ee3b 100644 |
41 |
--- a/dev-libs/optix/optix-7.5.0.ebuild |
42 |
+++ b/dev-libs/optix/optix-7.5.0.ebuild |
43 |
@@ -3,7 +3,7 @@ |
44 |
|
45 |
EAPI=8 |
46 |
|
47 |
-MY_PV=${PV:0:3} |
48 |
+MY_PV=$(ver_cut 1-2) |
49 |
|
50 |
DESCRIPTION="NVIDIA Ray Tracing Engine" |
51 |
HOMEPAGE="https://developer.nvidia.com/optix" |
52 |
@@ -73,7 +73,7 @@ src_install() { |
53 |
insinto /opt/${PN} |
54 |
doins -r include |
55 |
|
56 |
- if use !header-only; then |
57 |
+ if use !headers-only; then |
58 |
DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf ) |
59 |
einstalldocs |
60 |
fi |