pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/R-RcppEigen
Module Name: pkgsrc
Committed By: mef
Date: Tue Jun 9 12:32:34 UTC 2026
Modified Files:
pkgsrc/math/R-RcppEigen: Makefile distinfo
Added Files:
pkgsrc/math/R-RcppEigen/patches: patch-src_Makevars
Log Message:
(math/R-RcppEigen) Fix build against R-4.6.0
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/R-RcppEigen/Makefile \
pkgsrc/math/R-RcppEigen/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/R-RcppEigen/patches/patch-src_Makevars
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/R-RcppEigen/Makefile
diff -u pkgsrc/math/R-RcppEigen/Makefile:1.10 pkgsrc/math/R-RcppEigen/Makefile:1.11
--- pkgsrc/math/R-RcppEigen/Makefile:1.10 Sat Oct 26 11:55:30 2024
+++ pkgsrc/math/R-RcppEigen/Makefile Tue Jun 9 12:32:34 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2024/10/26 11:55:30 mef Exp $
+# $NetBSD: Makefile,v 1.11 2026/06/09 12:32:34 mef Exp $
R_PKGNAME= RcppEigen
R_PKGVER= 0.3.4.0.2
@@ -25,6 +25,17 @@ TEST_DEPENDS+= tex-hyperref-[0-9]*:../..
USE_LANGUAGES= c c++ fortran
USE_CXX_FEATURES+= c++11
+.include "../../mk/bsd.prefs.mk"
+SUBST_CLASSES+= pkglibs
+SUBST_STAGE.pkglibs= pre-configure
+SUBST_FILES.pkglibs= src/Makevars
+SUBST_MESSAGE.pkglibs= Add -lexecinfo for *BSD
+.if ${OPSYS} != SunOS && ${OPSYS} != SunOS
+SUBST_SED.pkglibs= -e s,@@PKG_LIBS@@,PKG_LIBS+=-lexecinfo,
+.else
+SUBST_SED.pkglibs= -e s,@@PKG_LIBS@@,,
+.endif
+
.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/R-RcppEigen/distinfo
diff -u pkgsrc/math/R-RcppEigen/distinfo:1.10 pkgsrc/math/R-RcppEigen/distinfo:1.11
--- pkgsrc/math/R-RcppEigen/distinfo:1.10 Sat Oct 26 11:55:30 2024
+++ pkgsrc/math/R-RcppEigen/distinfo Tue Jun 9 12:32:34 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2024/10/26 11:55:30 mef Exp $
+$NetBSD: distinfo,v 1.11 2026/06/09 12:32:34 mef Exp $
BLAKE2s (R/RcppEigen_0.3.4.0.2.tar.gz) = a5738423b41cd4ad12a315fc64feef701b398c078c5f13625e4ff10f093e0c4d
SHA512 (R/RcppEigen_0.3.4.0.2.tar.gz) = d593d43e3778d8fcdfa2137e119d5fc4b4004deffa707cb13f3e7b129bd5b4a4af36620042df80a3d1d19834792ee36ebdc8feecfe0dc060faa233d7f2cef345
Size (R/RcppEigen_0.3.4.0.2.tar.gz) = 1761745 bytes
+SHA1 (patch-src_Makevars) = e66c261614f8a84ec2479820572a0291dea80f9e
Added files:
Index: pkgsrc/math/R-RcppEigen/patches/patch-src_Makevars
diff -u /dev/null pkgsrc/math/R-RcppEigen/patches/patch-src_Makevars:1.1
--- /dev/null Tue Jun 9 12:32:34 2026
+++ pkgsrc/math/R-RcppEigen/patches/patch-src_Makevars Tue Jun 9 12:32:34 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_Makevars,v 1.1 2026/06/09 12:32:34 mef Exp $
+
+- The Problem is:
+ RcppEigen.so: Undefined PLT symbol "backtrace_symbols" (symnum = 108)
+
+- The symbol "backtrace_symbols" is defined in /usr/lib/libexecinfo
+ at *BSD OS
+
+- R package does not honor LIBS+= parameter, due to real build is done
+ at (pkgsrc) install stage
+
+- Neither bmake (.if eq ... .endif) nor gmake ( ifneq .. endif) does work
+ in src/Makevars
+
+- So the condition branch will be done at SUBST mechanism
+
+--- src/Makevars.orig 2023-07-21 06:30:13.000000000 +0900
++++ src/Makevars 2026-06-09 21:06:42.551092341 +0900
+@@ -5,6 +5,7 @@ PKG_CXXFLAGS = -I../inst/include
+
+ ## One could add '-fopenmp' here (and above) for multithreaded operations
+ PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
++@@PKG_LIBS@@
+
+ ## We are not enabling multithreaded operations by default because this would be
+ ## a change in behaviour that would like create trouble for packages using RcppEigen
Home |
Main Index |
Thread Index |
Old Index