1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Statistical computing and graphics environment
8 HOMEPAGE= https://www.r-project.org/
12 SITES[main]= CRAN/src/base/R-3
13 DISTFILE[1]= R-3.6.3.tar.gz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= pcre:static:standard
24 BUILDRUN_DEPENDS= pcre:shared:standard
27 ghostscript:primary:standard
31 USES= makeinfo readline perl:build libtool zlib gmake
32 iconv png jpeg pkgconfig tcl:tk gettext-runtime
33 gettext-tools fortran:primary
34 GNOME_COMPONENTS= cairo pango
35 XORG_COMPONENTS= ice sm x11 xext xmu xscrnsaver xt
37 LICENSE= GPLv2+:primary
38 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
39 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING
40 LICENSE_AWK= TERMS:"HAVE_CONFIG_H"
41 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/main/main.c
51 FPC_EQUIVALENT= math/R
55 CONFIGURE_ARGS= --disable-java
72 rdocdir={{STD_DOCDIR}}
73 CONFIGURE_ENV= r_cv_header_jpeglib_h=yes
75 INSTALL_TARGET= install-strip install-info
76 INSTALL_REQ_TOOLCHAIN= yes
79 LDFLAGS= -Wl,-rpath,{{PREFIX}}/lib/R/lib
82 ${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \
84 ${REINPLACE_CMD} "s|%%LIBVER%%|3.6|" \
85 ${WRKSRC}/src/main/Makefile.in \
86 ${WRKSRC}/src/extra/blas/Makefile.in \
87 ${WRKSRC}/src/modules/lapack/Makefile.in
90 ${REINPLACE_CMD} -i'' -e "s| -lR| -lR -lRblas|" \
91 ${STAGEDIR}${PREFIX}/lib/pkgconfig/libR.pc
92 ${RM} ${STAGEDIR}${STD_DOCDIR}/COPY*
93 ${RM} ${STAGEDIR}${PREFIX}/lib/R/COPY*
95 [FILE:1028:descriptions/desc.primary]
96 R is a system for statistical computation and graphics. It consists of a
97 language plus a run-time environment with graphics, a debugger, access to
98 certain system functions, and the ability to run programs stored in script
101 The core of R is an interpreted computer language which allows branching
102 and looping as well as modular programming using functions. Most of the
103 user-visible functions in R are written in R. It is possible for the user
104 to interface to procedures written in the C, C++, or FORTRAN languages
105 for efficiency. The R distribution contains functionality for a large
106 number of statistical procedures. Among these are: linear and generalized
107 linear models, nonlinear regression models, time series analysis, classical
108 parametric and nonparametric tests, clustering and smoothing. There is also
109 a large set of functions which provide a flexible graphical environment for
110 creating various kinds of data presentations. Additional modules ("add-on
111 packages") are available for a variety of specific purposes.
115 89302990d8e8add536e12125ec591d6951022cf8475861b3690bc8bf1cefaa8f 33308185 R-3.6.3.tar.gz
118 [FILE:19066:manifests/plist.primary]
202 libR.so.%%SOVERSION%%
204 libRblas.so.%%SOVERSION%%
206 libRlapack.so.%%SOVERSION%%
207 lib/R/library/KernSmooth/
211 lib/R/library/KernSmooth/Meta/
218 lib/R/library/KernSmooth/R/
222 lib/R/library/KernSmooth/help/
228 lib/R/library/KernSmooth/html/
231 lib/R/library/KernSmooth/libs/KernSmooth.so
238 lib/R/library/MASS/Meta/
246 lib/R/library/MASS/R/
250 lib/R/library/MASS/data/
254 lib/R/library/MASS/help/
260 lib/R/library/MASS/html/
263 lib/R/library/MASS/libs/MASS.so
264 lib/R/library/MASS/scripts/
281 lib/R/library/Matrix/
292 lib/R/library/Matrix/Meta/
301 lib/R/library/Matrix/R/
305 lib/R/library/Matrix/data/
309 lib/R/library/Matrix/doc/
327 lib/R/library/Matrix/doc/SuiteSparse/
332 SuiteSparse_config.txt
334 lib/R/library/Matrix/external/
346 lib/R/library/Matrix/help/
352 lib/R/library/Matrix/html/
355 lib/R/library/Matrix/include/
359 lib/R/library/Matrix/libs/Matrix.so
364 lib/R/library/base/Meta/
371 lib/R/library/base/R/
376 lib/R/library/base/demo/
381 lib/R/library/base/help/
387 lib/R/library/base/html/
396 lib/R/library/boot/Meta/
404 lib/R/library/boot/R/
408 lib/R/library/boot/data/
412 lib/R/library/boot/help/
418 lib/R/library/boot/html/
427 lib/R/library/class/Meta/
434 lib/R/library/class/R/
438 lib/R/library/class/help/
444 lib/R/library/class/html/
447 lib/R/library/class/libs/class.so
448 lib/R/library/cluster/
455 lib/R/library/cluster/Meta/
463 lib/R/library/cluster/R/
467 lib/R/library/cluster/data/
471 lib/R/library/cluster/help/
477 lib/R/library/cluster/html/
480 lib/R/library/cluster/libs/cluster.so
481 lib/R/library/codetools/
485 lib/R/library/codetools/Meta/
492 lib/R/library/codetools/R/
496 lib/R/library/codetools/help/
502 lib/R/library/codetools/html/
505 lib/R/library/compiler/
509 lib/R/library/compiler/Meta/
516 lib/R/library/compiler/R/
520 lib/R/library/compiler/help/
526 lib/R/library/compiler/html/
529 lib/R/library/datasets/
533 lib/R/library/datasets/Meta/
541 lib/R/library/datasets/data/
546 lib/R/library/datasets/help/
552 lib/R/library/datasets/html/
555 lib/R/library/foreign/
560 lib/R/library/foreign/Meta/
567 lib/R/library/foreign/R/
571 lib/R/library/foreign/files/
577 lib/R/library/foreign/help/
583 lib/R/library/foreign/html/
586 lib/R/library/foreign/libs/foreign.so
587 lib/R/library/grDevices/
591 lib/R/library/grDevices/Meta/
599 lib/R/library/grDevices/R/
603 lib/R/library/grDevices/afm/
605 ArialMT-BoldItalic.afm.gz
606 ArialMT-Italic.afm.gz
609 CM_boldx_italic_10.afm.gz
614 Courier-BoldOblique.afm.gz
615 Courier-Oblique.afm.gz
617 Helvetica-Bold.afm.gz
618 Helvetica-BoldOblique.afm.gz
619 Helvetica-Oblique.afm.gz
625 Times-BoldItalic.afm.gz
697 lib/R/library/grDevices/demo/
700 lib/R/library/grDevices/enc/
719 lib/R/library/grDevices/help/
725 lib/R/library/grDevices/html/
728 lib/R/library/grDevices/icc/
731 lib/R/library/grDevices/libs/
734 lib/R/library/graphics/
738 lib/R/library/graphics/Meta/
746 lib/R/library/graphics/R/
750 lib/R/library/graphics/demo/
757 lib/R/library/graphics/help/
763 lib/R/library/graphics/help/figures/
771 lib/R/library/graphics/html/
774 lib/R/library/graphics/libs/graphics.so
779 lib/R/library/grid/Meta/
786 lib/R/library/grid/R/
790 lib/R/library/grid/doc/
806 lib/R/library/grid/help/
812 lib/R/library/grid/html/
815 lib/R/library/grid/libs/grid.so
816 lib/R/library/lattice/
822 lib/R/library/lattice/Meta/
831 lib/R/library/lattice/R/
835 lib/R/library/lattice/data/
839 lib/R/library/lattice/demo/
844 lib/R/library/lattice/help/
850 lib/R/library/lattice/html/
853 lib/R/library/lattice/libs/lattice.so
854 lib/R/library/methods/
858 lib/R/library/methods/Meta/
865 lib/R/library/methods/R/
869 lib/R/library/methods/help/
875 lib/R/library/methods/html/
878 lib/R/library/methods/libs/methods.so
884 lib/R/library/mgcv/Meta/
892 lib/R/library/mgcv/R/
896 lib/R/library/mgcv/data/
899 lib/R/library/mgcv/help/
905 lib/R/library/mgcv/html/
908 lib/R/library/mgcv/libs/mgcv.so
915 lib/R/library/nlme/Meta/
923 lib/R/library/nlme/R/
927 lib/R/library/nlme/data/
931 lib/R/library/nlme/help/
937 lib/R/library/nlme/html/
940 lib/R/library/nlme/libs/nlme.so
941 lib/R/library/nlme/mlbook/
945 lib/R/library/nlme/scripts/
961 lib/R/library/nnet/Meta/
968 lib/R/library/nnet/R/
972 lib/R/library/nnet/help/
978 lib/R/library/nnet/html/
981 lib/R/library/nnet/libs/nnet.so
982 lib/R/library/parallel/
986 lib/R/library/parallel/Meta/
993 lib/R/library/parallel/R/
997 lib/R/library/parallel/doc/parallel.pdf
998 lib/R/library/parallel/help/
1004 lib/R/library/parallel/html/
1007 lib/R/library/parallel/libs/parallel.so
1008 lib/R/library/rpart/
1013 lib/R/library/rpart/Meta/
1022 lib/R/library/rpart/R/
1026 lib/R/library/rpart/data/
1030 lib/R/library/rpart/doc/
1038 lib/R/library/rpart/help/
1044 lib/R/library/rpart/help/figures/rpart.png
1045 lib/R/library/rpart/html/
1048 lib/R/library/rpart/libs/rpart.so
1049 lib/R/library/spatial/
1056 lib/R/library/spatial/Meta/
1063 lib/R/library/spatial/R/
1067 lib/R/library/spatial/help/
1073 lib/R/library/spatial/html/
1076 lib/R/library/spatial/libs/spatial.so
1077 lib/R/library/spatial/ppdata/
1102 lib/R/library/splines/
1106 lib/R/library/splines/Meta/
1113 lib/R/library/splines/R/
1117 lib/R/library/splines/help/
1123 lib/R/library/splines/html/
1126 lib/R/library/splines/libs/splines.so
1127 lib/R/library/stats/
1133 lib/R/library/stats/Meta/
1141 lib/R/library/stats/R/
1145 lib/R/library/stats/demo/
1150 lib/R/library/stats/help/
1156 lib/R/library/stats/html/
1159 lib/R/library/stats/libs/stats.so
1160 lib/R/library/stats4/
1164 lib/R/library/stats4/Meta/
1171 lib/R/library/stats4/R/
1175 lib/R/library/stats4/help/
1181 lib/R/library/stats4/html/
1184 lib/R/library/survival/
1191 lib/R/library/survival/Meta/
1200 lib/R/library/survival/R/
1204 lib/R/library/survival/data/
1208 lib/R/library/survival/doc/
1244 lib/R/library/survival/help/
1250 lib/R/library/survival/help/figures/logo.png
1251 lib/R/library/survival/html/
1254 lib/R/library/survival/libs/survival.so
1255 lib/R/library/tcltk/
1259 lib/R/library/tcltk/Meta/
1267 lib/R/library/tcltk/R/
1271 lib/R/library/tcltk/demo/
1276 lib/R/library/tcltk/exec/
1289 lib/R/library/tcltk/help/
1295 lib/R/library/tcltk/html/
1298 lib/R/library/tcltk/libs/tcltk.so
1299 lib/R/library/tools/
1303 lib/R/library/tools/Meta/
1310 lib/R/library/tools/R/
1316 lib/R/library/tools/help/
1322 lib/R/library/tools/html/
1325 lib/R/library/tools/libs/tools.so
1326 lib/R/library/translations/DESCRIPTION
1327 lib/R/library/utils/
1332 lib/R/library/utils/Meta/
1339 lib/R/library/utils/R/
1345 lib/R/library/utils/Sweave/
1348 lib/R/library/utils/doc/Sweave.pdf
1349 lib/R/library/utils/help/
1355 lib/R/library/utils/html/
1358 lib/R/library/utils/libs/utils.so
1359 lib/R/library/utils/misc/
1373 lib/R/share/Rd/macros/system.Rd
1374 lib/R/share/dictionaries/en_stats.rds
1375 lib/R/share/encodings/
1381 lib/R/share/licenses/
1403 lib/R/share/sh/echo.sh
1404 lib/R/share/texmf/bibtex/bib/
1407 lib/R/share/texmf/bibtex/bst/jss.bst
1408 lib/R/share/texmf/tex/latex/
1417 lib/pkgconfig/libR.pc
1423 [FILE:7804:manifests/plist.nls]
1424 lib/R/library/KernSmooth/po/de/LC_MESSAGES/R-KernSmooth.mo
1425 lib/R/library/KernSmooth/po/en@quot/LC_MESSAGES/R-KernSmooth.mo
1426 lib/R/library/KernSmooth/po/fr/LC_MESSAGES/R-KernSmooth.mo
1427 lib/R/library/KernSmooth/po/ko/LC_MESSAGES/R-KernSmooth.mo
1428 lib/R/library/KernSmooth/po/pl/LC_MESSAGES/R-KernSmooth.mo
1429 lib/R/library/MASS/po/de/LC_MESSAGES/R-MASS.mo
1430 lib/R/library/MASS/po/en@quot/LC_MESSAGES/R-MASS.mo
1431 lib/R/library/MASS/po/fr/LC_MESSAGES/R-MASS.mo
1432 lib/R/library/MASS/po/ko/LC_MESSAGES/R-MASS.mo
1433 lib/R/library/MASS/po/pl/LC_MESSAGES/R-MASS.mo
1434 lib/R/library/Matrix/po/de/LC_MESSAGES/
1437 lib/R/library/Matrix/po/en@quot/LC_MESSAGES/
1440 lib/R/library/Matrix/po/fr/LC_MESSAGES/
1443 lib/R/library/Matrix/po/ko/LC_MESSAGES/R-Matrix.mo
1444 lib/R/library/Matrix/po/pl/LC_MESSAGES/
1447 lib/R/library/boot/po/de/LC_MESSAGES/R-boot.mo
1448 lib/R/library/boot/po/en@quot/LC_MESSAGES/R-boot.mo
1449 lib/R/library/boot/po/fr/LC_MESSAGES/R-boot.mo
1450 lib/R/library/boot/po/ko/LC_MESSAGES/R-boot.mo
1451 lib/R/library/boot/po/pl/LC_MESSAGES/R-boot.mo
1452 lib/R/library/boot/po/ru/LC_MESSAGES/R-boot.mo
1453 lib/R/library/class/po/de/LC_MESSAGES/R-class.mo
1454 lib/R/library/class/po/en@quot/LC_MESSAGES/R-class.mo
1455 lib/R/library/class/po/fr/LC_MESSAGES/R-class.mo
1456 lib/R/library/class/po/ko/LC_MESSAGES/R-class.mo
1457 lib/R/library/class/po/pl/LC_MESSAGES/R-class.mo
1458 lib/R/library/cluster/po/de/LC_MESSAGES/
1461 lib/R/library/cluster/po/en@quot/LC_MESSAGES/
1464 lib/R/library/cluster/po/fr/LC_MESSAGES/R-cluster.mo
1465 lib/R/library/cluster/po/ko/LC_MESSAGES/
1468 lib/R/library/cluster/po/pl/LC_MESSAGES/R-cluster.mo
1469 lib/R/library/foreign/po/de/LC_MESSAGES/
1472 lib/R/library/foreign/po/en@quot/LC_MESSAGES/
1475 lib/R/library/foreign/po/fr/LC_MESSAGES/
1478 lib/R/library/foreign/po/pl/LC_MESSAGES/
1481 lib/R/library/lattice/po/de/LC_MESSAGES/R-lattice.mo
1482 lib/R/library/lattice/po/en@quot/LC_MESSAGES/R-lattice.mo
1483 lib/R/library/lattice/po/fr/LC_MESSAGES/R-lattice.mo
1484 lib/R/library/lattice/po/ko/LC_MESSAGES/R-lattice.mo
1485 lib/R/library/lattice/po/pl/LC_MESSAGES/R-lattice.mo
1486 lib/R/library/mgcv/po/de/LC_MESSAGES/
1489 lib/R/library/mgcv/po/en@quot/LC_MESSAGES/
1492 lib/R/library/mgcv/po/fr/LC_MESSAGES/
1495 lib/R/library/mgcv/po/ko/LC_MESSAGES/
1498 lib/R/library/mgcv/po/pl/LC_MESSAGES/
1501 lib/R/library/nlme/po/de/LC_MESSAGES/
1504 lib/R/library/nlme/po/en@quot/LC_MESSAGES/
1507 lib/R/library/nlme/po/fr/LC_MESSAGES/
1510 lib/R/library/nlme/po/ko/LC_MESSAGES/
1513 lib/R/library/nlme/po/pl/LC_MESSAGES/
1516 lib/R/library/nnet/po/de/LC_MESSAGES/R-nnet.mo
1517 lib/R/library/nnet/po/en@quot/LC_MESSAGES/R-nnet.mo
1518 lib/R/library/nnet/po/fr/LC_MESSAGES/R-nnet.mo
1519 lib/R/library/nnet/po/ko/LC_MESSAGES/R-nnet.mo
1520 lib/R/library/nnet/po/pl/LC_MESSAGES/R-nnet.mo
1521 lib/R/library/rpart/po/de/LC_MESSAGES/
1524 lib/R/library/rpart/po/en@quot/LC_MESSAGES/
1527 lib/R/library/rpart/po/fr/LC_MESSAGES/
1530 lib/R/library/rpart/po/ko/LC_MESSAGES/
1533 lib/R/library/rpart/po/pl/LC_MESSAGES/
1536 lib/R/library/rpart/po/ru/LC_MESSAGES/
1539 lib/R/library/spatial/po/de/LC_MESSAGES/R-spatial.mo
1540 lib/R/library/spatial/po/en@quot/LC_MESSAGES/R-spatial.mo
1541 lib/R/library/spatial/po/fr/LC_MESSAGES/R-spatial.mo
1542 lib/R/library/spatial/po/ko/LC_MESSAGES/R-spatial.mo
1543 lib/R/library/spatial/po/pl/LC_MESSAGES/R-spatial.mo
1544 lib/R/library/translations/da/LC_MESSAGES/
1569 lib/R/library/translations/de/LC_MESSAGES/
1595 lib/R/library/translations/en/LC_MESSAGES/R.mo
1596 lib/R/library/translations/en@quot/LC_MESSAGES/
1621 lib/R/library/translations/en_GB/LC_MESSAGES/
1625 lib/R/library/translations/es/LC_MESSAGES/
1629 lib/R/library/translations/fa/LC_MESSAGES/
1634 lib/R/library/translations/fr/LC_MESSAGES/
1659 lib/R/library/translations/it/LC_MESSAGES/
1674 lib/R/library/translations/ja/LC_MESSAGES/
1697 lib/R/library/translations/ko/LC_MESSAGES/
1723 lib/R/library/translations/nn/LC_MESSAGES/
1728 lib/R/library/translations/pl/LC_MESSAGES/
1754 lib/R/library/translations/pt_BR/LC_MESSAGES/
1777 lib/R/library/translations/ru/LC_MESSAGES/
1802 lib/R/library/translations/tr/LC_MESSAGES/
1811 lib/R/library/translations/zh_CN/LC_MESSAGES/
1836 lib/R/library/translations/zh_TW/LC_MESSAGES/
1842 [FILE:584:manifests/plist.docs]
1871 packages-head-utf8.html
1884 share/doc/R/manual/images/
1893 [FILE:238:patches/patch-configure]
1894 --- configure.orig 2020-02-21 23:16:00 UTC
1896 @@ -7462,6 +7462,7 @@ if test $ac_compiler_gnu = yes; then
1902 ac_cpp='$CPP $CPPFLAGS'
1903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 [FILE:219:patches/patch-m4_R.m4]
1907 --- m4/R.m4.orig 2019-09-06 22:15:02 UTC
1909 @@ -3973,7 +3973,7 @@ case "${host_os}" in
1914 + dragonfly*|freebsd*)
1915 R_SYSTEM_ABI="freebsd"
1920 [FILE:1053:patches/patch-src_extra_blas_Makefile.in]
1921 --- src/extra/blas/Makefile.in.orig 2019-03-28 23:02:34 UTC
1922 +++ src/extra/blas/Makefile.in
1923 @@ -19,7 +19,7 @@ SOURCES = blas00.c blas.f cmplxblas.f
1924 Rblas_la = libRblas$(R_DYLIB_EXT)
1925 ## @RBLAS_LDFLAGS@ is used on macOS
1926 ## first for internal BLAS
1927 -Rblas_la_LIBADD = @RBLAS_LDFLAGS@ $(FLIBS_IN_SO)
1928 +Rblas_la_LIBADD = -Wl,-soname,libRblas.so.%%LIBVER%% $(FLIBS_IN_SO)
1929 ## then external one
1930 Rblas_la_LIBADD0 = @RBLAS_LDFLAGS@
1932 @@ -43,6 +43,7 @@ Rblas_install: $(Rblas_la)
1933 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
1934 @$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rblas_la) \
1935 "$(DESTDIR)$(Rexeclibdir)/$(Rblas_la)"
1936 + @cd $(DESTDIR)$(Rexeclibdir) && ln -s $(Rblas_la) $(Rblas_la).%%LIBVER%%
1938 Rblas_install-strip: $(Rblas_la)
1939 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
1940 @@ -50,6 +51,7 @@ Rblas_install-strip: $(Rblas_la)
1941 @if test -n "$(STRIP_SHARED_LIB)"; then \
1942 $(STRIP_SHARED_LIB) "$(DESTDIR)$(Rexeclibdir)/$(Rblas_la)" ;\
1944 + @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(Rblas_la) $(Rblas_la).%%LIBVER%%
1950 [FILE:412:patches/patch-src_extra_intl_config.charset]
1951 --- src/extra/intl/config.charset.orig 2018-09-25 08:46:48 UTC
1952 +++ src/extra/intl/config.charset
1953 @@ -345,7 +345,7 @@ case "$os" in
1954 #echo "sun_eu_greek ?" # what is this?
1958 + dragonfly* | freebsd* | os2*)
1959 # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore
1960 # localcharset.c falls back to using the full locale name
1961 # from the environment variables.
1964 [FILE:223:patches/patch-src_extra_tre_tre-internal.h]
1965 --- src/extra/tre/tre-internal.h.orig 2018-09-25 08:46:39 UTC
1966 +++ src/extra/tre/tre-internal.h
1968 #endif /* !HAVE_WCTYPE_H */
1971 +#include <stdint.h>
1977 [FILE:833:patches/patch-src_library_parallel_R_detectCores.R]
1978 --- src/library/parallel/R/detectCores.R.orig 2018-09-25 08:45:29 UTC
1979 +++ src/library/parallel/R/detectCores.R
1980 @@ -35,6 +35,7 @@ detectCores <-
1981 darwin = if(logical) "/usr/sbin/sysctl -n hw.logicalcpu 2>/dev/null" else "/usr/sbin/sysctl -n hw.physicalcpu 2>/dev/null",
1982 solaris = if(logical) "/usr/sbin/psrinfo -v | grep 'Status of.*processor' | wc -l" else "/bin/kstat -p -m cpu_info | grep :core_id | cut -f2 | uniq | wc -l",
1983 freebsd = "/sbin/sysctl -n hw.ncpu 2>/dev/null",
1984 + dragonfly = "/sbin/sysctl -n hw.ncpu 2>/dev/null",
1985 openbsd = "/sbin/sysctl -n hw.ncpu 2>/dev/null",
1986 irix = c("hinv | grep Processors | sed 's: .*::'", "hinv | grep '^Processor '| wc -l"))
1987 for (i in seq(systems))
1990 [FILE:853:patches/patch-src_main_Makefile.in]
1991 --- src/main/Makefile.in.orig 2019-03-28 23:02:31 UTC
1992 +++ src/main/Makefile.in
1993 @@ -110,7 +110,7 @@ libR_la_LIBADD = $(MAIN_OBJS) $(EXTRA_S
1994 libR_la_DEPENDENCIES = $(STATIC_LIBS) $(R_TZONE) @WANT_R_SHLIB_TRUE@ @USE_EXPORTFILES_TRUE@ $(top_builddir)/etc/R.exp
1996 ## The next is needed for macOS only at present
1997 -LIBR_LDFLAGS = @LIBR_LDFLAGS@
1998 +LIBR_LDFLAGS = -Wl,-soname,libR.so.%%LIBVER%%
2002 @@ -200,6 +200,7 @@ install-bin: installdirs
2003 install-lib: installdirs
2004 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
2005 @$(SHELL) $(top_srcdir)/tools/copy-if-change $(libR_la) "$(DESTDIR)$(Rexeclibdir)/$(libR_la)"
2006 + @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(libR_la) $(libR_la).%%LIBVER%%
2007 install-static: installdirs
2008 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
2009 @$(SHELL) $(top_srcdir)/tools/copy-if-change libR.a "$(DESTDIR)$(Rexeclibdir)/libR.a"
2012 [FILE:635:patches/patch-src_main_complex.c]
2013 --- src/main/complex.c.orig 2018-09-25 08:46:25 UTC
2014 +++ src/main/complex.c
2015 @@ -139,7 +139,7 @@ static double complex mycpow (double com
2016 } else if (yi == 0.0 && yr == (k = (int) yr) && abs(k) <= 65536)
2020 +#if defined(HAVE_CPOW) && !defined(__FreeBSD__)
2024 @@ -393,7 +393,7 @@ void attribute_hidden z_prec_r(Rcomplex
2025 Currently (Feb 2011) they are used on FreeBSD.
2029 +#if !defined(HAVE_CLOG) || defined(__FreeBSD__)
2031 /* FIXME: maybe add full IEC60559 support */
2032 static double complex clog(double complex x)
2035 [FILE:1502:patches/patch-src_modules_lapack_Makefile.in]
2036 --- src/modules/lapack/Makefile.in.orig 2019-03-28 23:02:36 UTC
2037 +++ src/modules/lapack/Makefile.in
2038 @@ -84,16 +84,18 @@ $(lapack_la): $(lapack_la_OBJECTS)
2039 ## Include BLAS here, as with (static) ATLAS that pulls all the
2040 ## BLAS routines into one place.
2041 $(Rlapack_la): $(LIBOBJECTS)
2042 - $(DYLIB_LINK) -o $@ $(LIBOBJECTS) @RLAPACK_LDFLAGS@ @BLAS_LIBS@ $(Rlapack_la_LIBADD)
2043 + $(DYLIB_LINK) -o $@ $(LIBOBJECTS) -Wl,-soname,libRlapack.so.%%LIBVER%% @BLAS_LIBS@ $(Rlapack_la_LIBADD)
2045 Rlapack_install: $(Rlapack_la)
2046 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
2047 @$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rlapack_la) \
2048 "$(Rexeclibdir)/$(Rlapack_la)"
2049 + @cd $(Rexeclibdir) && ln -s $(Rlapack_la) $(Rlapack_la).%%LIBVER%%
2051 install: installdirs
2052 @$(SHELL) $(top_srcdir)/tools/copy-if-change $(lapack_la) "$(DESTDIR)$(Rexecmodulesdir)/$(lapack_la)"
2053 -@USE_EXTERNAL_LAPACK_FALSE@ @$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rlapack_la) "$(DESTDIR)$(Rexeclibdir)/$(Rlapack_la)"
2054 +@USE_EXTERNAL_LAPACK_FALSE@ @cd "$(DESTDIR)$(Rexeclibdir)" && ln -sf $(Rlapack_la) $(Rlapack_la).%%LIBVER%%
2057 @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexecmodulesdir)"
2058 install-strip-Rlapack:
2059 @@ -106,6 +108,7 @@ install-strip: @USE_EXTERNAL_LAPACK_FALS
2060 @if test -n "$(STRIP_SHARED_LIB)"; then \
2061 $(STRIP_SHARED_LIB) "$(DESTDIR)$(Rexecmodulesdir)/$(lapack_la)"; \
2063 + @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(Rlapack_la) $(Rlapack_la).%%LIBVER%%
2065 @rm -f "$(Rexecmodulesdir)/$(lapack_la)"