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 2357F15808B for ; Fri, 15 Apr 2022 20:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0529FE0971; Fri, 15 Apr 2022 20:34:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 CED22E0972 for ; Fri, 15 Apr 2022 20:34:31 +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 B9DDB3420E1 for ; Fri, 15 Apr 2022 20:34:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAEDD3F0 for ; Fri, 15 Apr 2022 20:34:26 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1650054861.1978e6362ddb808dc41c79348b9cf2e22f0a9124.Alessandro-Barbieri@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: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 1978e6362ddb808dc41c79348b9cf2e22f0a9124 X-VCS-Branch: dev Date: Fri, 15 Apr 2022 20:34:26 +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: 1433140f-68ae-4256-90e9-e46e1a45a6b9 X-Archives-Hash: be8f1af142fafa50658f1a2b7d65a772 commit: 1978e6362ddb808dc41c79348b9cf2e22f0a9124 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 11 00:56:42 2022 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Fri Apr 15 20:34:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1978e636 dev-R/RcppEnsmallen: use cp -rs to symlink all the headers Closes: https://bugs.gentoo.org/833989 Signed-off-by: Alessandro Barbieri gmail.com> dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 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 129a0fa23..003cfc953 100644 --- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild +++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild @@ -14,7 +14,7 @@ LICENSE='GPL-2+' DEPEND=" >=dev-lang/R-3.3.0 dev-R/Rcpp - =sci-libs/ensmallen-${MY_PV}* + =sci-libs/ensmallen-${MY_PV}*:= " RDEPEND="${DEPEND} >=dev-R/RcppArmadillo-0.8.400.0.0 @@ -38,9 +38,7 @@ src_install() { R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp" - dodir /usr/include/ensmallen_bits - for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do - filename=$(basename "${file}") - dosym8 -r /usr/include/ensmallen_bits/${filename} "${R_includedir}/ensmallen_bits/${filename}" - done + # portage doesn't like symlinks to folders, symlink all the files then + rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die + cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die }