summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/optix/optix-7.5.0.ebuild')
-rw-r--r--dev-libs/optix/optix-7.5.0.ebuild4
1 files changed, 2 insertions, 2 deletions
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