Subject: CVS commit: pkgsrc/math/R
From: Brook Milligan
Date: 2022-03-20 00:14:00
Message id: 20220319231400.21CF6FB24@cvs.NetBSD.org

Log Message:
math/R: fix compiler flags embedded within Makeconf

The R package installs the file lib/R/etc/Makeconf, which is intended
to be used by R packages that themselves compile programs.  This
feature is rarely used, but the math/R-nimble package is an example of
one that does.  For this to work, the compiler flags embedded within
Makeconf must be compatible with the system compiler.  At least on
MacOS, this is not the case by default, and so nimble compilations
fail.  This substitutes ${COMPILER_RPATH_FLAG} into configure.ac, so
that it is used when creating Makeconf.  Since neither R itself nor
most R packages compile other programs, Makeconf is generally not used
and this fix will have no impact.

Files:
RevisionActionfile
1.231modifypkgsrc/math/R/Makefile
1.94modifypkgsrc/math/R/distinfo
1.5modifypkgsrc/math/R/patches/patch-configure.ac