diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-08-31 05:43:20 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-08-31 05:53:54 -0400 |
commit | 444a15f59bb58d7f297a5e1758e53fbdf8955638 (patch) | |
tree | a5cab7fd7ec8df6b07c359be20741840c1482758 /dev-libs/optix | |
parent | dev-libs/optix: add 7.5.0 (diff) | |
download | gentoo-444a15f59bb58d7f297a5e1758e53fbdf8955638.tar.gz gentoo-444a15f59bb58d7f297a5e1758e53fbdf8955638.tar.bz2 gentoo-444a15f59bb58d7f297a5e1758e53fbdf8955638.zip |
dev-libs/optix: fix overlooked use check and use ver_cut
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-libs/optix')
-rw-r--r-- | dev-libs/optix/optix-7.4.0.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/optix/optix-7.5.0.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-libs/optix/optix-7.4.0.ebuild b/dev-libs/optix/optix-7.4.0.ebuild index 83f7282d967c..35e765e6ee3b 100644 --- a/dev-libs/optix/optix-7.4.0.ebuild +++ b/dev-libs/optix/optix-7.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -MY_PV=${PV:0:3} +MY_PV=$(ver_cut 1-2) DESCRIPTION="NVIDIA Ray Tracing Engine" HOMEPAGE="https://developer.nvidia.com/optix" @@ -73,7 +73,7 @@ src_install() { insinto /opt/${PN} doins -r include - if use !header-only; then + if use !headers-only; then DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf ) einstalldocs fi diff --git a/dev-libs/optix/optix-7.5.0.ebuild b/dev-libs/optix/optix-7.5.0.ebuild index 83f7282d967c..35e765e6ee3b 100644 --- a/dev-libs/optix/optix-7.5.0.ebuild +++ b/dev-libs/optix/optix-7.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -MY_PV=${PV:0:3} +MY_PV=$(ver_cut 1-2) DESCRIPTION="NVIDIA Ray Tracing Engine" HOMEPAGE="https://developer.nvidia.com/optix" @@ -73,7 +73,7 @@ src_install() { insinto /opt/${PN} doins -r include - if use !header-only; then + if use !headers-only; then DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf ) einstalldocs fi |