public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
Date: Thu, 17 Feb 2022 21:11:38 +0000 (UTC)	[thread overview]
Message-ID: <1645132276.bb877d15ee0102500c2b36da74b05215c783b510.cybertailor@gentoo> (raw)

commit:     bb877d15ee0102500c2b36da74b05215c783b510
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Feb 14 18:14:46 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Feb 17 21:11:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb877d15

dev-R/RcppEnsmallen: fix illegal dosym usage

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 08436d0db..3914b1ab7 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -35,6 +35,11 @@ src_prepare() {
 src_install() {
 	R-packages_src_install
 
-	dosym8 -r /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
-	dosym8 -r /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
+	R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
+	dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp"
+
+	for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
+		filename=$(basename "${file}")
+		dosym8 -r /usr/include/ensmallen_bits/${file} "${R_includedir}/ensmallen_bits/${file}"
+	done
 }


             reply	other threads:[~2022-02-17 21:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 21:11 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-28 12:53 [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/ Alessandro Barbieri
2022-05-05  7:32 Alessandro Barbieri
2022-05-04  2:40 Alessandro Barbieri
2022-04-15 20:34 Alessandro Barbieri
2022-02-24  7:54 Anna Vyalkova
2022-02-23 13:44 Anna Vyalkova
2022-02-09 13:12 Anna Vyalkova
2021-10-05 21:29 Alessandro Barbieri
2021-10-05 21:24 Alessandro Barbieri
2021-06-20 23:17 Alessandro Barbieri
2021-06-11 15:23 Alessandro Barbieri
2021-05-31 22:04 Alessandro Barbieri

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=1645132276.bb877d15ee0102500c2b36da74b05215c783b510.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --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