From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C57FF15808B for ; Thu, 17 Feb 2022 21:11:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5D34E085E; Thu, 17 Feb 2022 21:11:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE312E0857 for ; Thu, 17 Feb 2022 21:11:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A1413431D7 for ; Thu, 17 Feb 2022 21:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94F842EA for ; Thu, 17 Feb 2022 21:11:38 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1645132276.bb877d15ee0102500c2b36da74b05215c783b510.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild X-VCS-Directories: dev-R/RcppEnsmallen/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: bb877d15ee0102500c2b36da74b05215c783b510 X-VCS-Branch: dev Date: Thu, 17 Feb 2022 21:11:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d628879f-673e-47bf-96b0-989bc6b892bd X-Archives-Hash: 1a4045f015179e7d6f775e8af5bc844c commit: bb877d15ee0102500c2b36da74b05215c783b510 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Feb 14 18:14:46 2022 +0000 Commit: Anna Vyalkova sysrq 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 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 }