tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting math/R to install?



On Tue, Jan 21, 2025 at 01:28:46PM +0100, Havard Eidnes wrote:
> So ... what is the proper avenue to follow to make this build and
> install again?

The attached diff works for me - it adds the actual path of libR.so to
the LDFLAGS.
 Thomas
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/R/Makefile,v
retrieving revision 1.263
diff -u -r1.263 Makefile
--- Makefile	20 Jan 2025 21:26:02 -0000	1.263
+++ Makefile	21 Jan 2025 13:06:18 -0000
@@ -36,6 +36,8 @@
 CONFIGURE_ARGS+=	--with-tcl-config=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
 CONFIGURE_ARGS+=	--with-tk-config=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
 
+LDFLAGS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib/R/lib
+
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
 CONFIGURE_ARGS+=	--enable-long-double=no


Home | Main Index | Thread Index | Old Index