public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/optix/
Date: Wed, 31 Aug 2022 09:58:11 +0000 (UTC)	[thread overview]
Message-ID: <1661939634.444a15f59bb58d7f297a5e1758e53fbdf8955638.ionen@gentoo> (raw)

commit:     444a15f59bb58d7f297a5e1758e53fbdf8955638
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 09:43:20 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 09:53:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444a15f5

dev-libs/optix: fix overlooked use check and use ver_cut

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-libs/optix/optix-7.4.0.ebuild | 4 ++--
 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


             reply	other threads:[~2022-08-31  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31  9:58 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 10:00 [gentoo-commits] repo/gentoo:master commit in: dev-libs/optix/ Arthur Zamarin
2024-05-01 23:18 Ionen Wolkens
2023-02-04 11:33 Joonas Niilola
2022-09-16 15:18 Arthur Zamarin
2022-09-16 15:18 Arthur Zamarin
2022-08-31  9:58 Ionen Wolkens
2022-08-31  9:58 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1661939634.444a15f59bb58d7f297a5e1758e53fbdf8955638.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox