pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/R



Module Name:    pkgsrc
Committed By:   he
Date:           Tue Jan 21 14:48:08 UTC 2025

Modified Files:
        pkgsrc/math/R: Makefile

Log Message:
math/R: supply custom LDFLAGS, so that libR.so is picked up.

Resolves build problem on NetBSD/amd64 (and probably many more).
Thanks to wiz@ for the fix, ref. tech-pkg@.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 pkgsrc/math/R/Makefile

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/Makefile
diff -u pkgsrc/math/R/Makefile:1.263 pkgsrc/math/R/Makefile:1.264
--- pkgsrc/math/R/Makefile:1.263        Mon Jan 20 21:26:02 2025
+++ pkgsrc/math/R/Makefile      Tue Jan 21 14:48:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.263 2025/01/20 21:26:02 he Exp $
+# $NetBSD: Makefile,v 1.264 2025/01/21 14:48:08 he Exp $
 
 #
 # If updating this package, please try to ensure PLIST.Darwin is kept in sync
@@ -36,6 +36,8 @@ CONFIGURE_ARGS+=      --with-tcltk
 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