svn commit: r455297 - in head/math/R: . files
Joseph Mingrone
jrm at FreeBSD.org
Fri Dec 1 15:28:03 UTC 2017
Author: jrm
Date: Fri Dec 1 15:28:01 2017
New Revision: 455297
URL: https://svnweb.freebsd.org/changeset/ports/455297
Log:
math/R: Rename files/extra-patch-src_main_Makefile.in to
files/patch-src_main_Makefile.in, so that the SONAME for libR is included.
This was intended for r455296.
Added:
head/math/R/files/patch-src_main_Makefile.in
- copied unchanged from r455296, head/math/R/files/extra-patch-src_main_Makefile.in
Deleted:
head/math/R/files/extra-patch-src_main_Makefile.in
Modified:
head/math/R/Makefile
Modified: head/math/R/Makefile
==============================================================================
--- head/math/R/Makefile Fri Dec 1 14:59:51 2017 (r455296)
+++ head/math/R/Makefile Fri Dec 1 15:28:01 2017 (r455297)
@@ -3,6 +3,7 @@
PORTNAME= R
DISTVERSION= 3.4.3
+PORTREVISION= 1
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
Copied: head/math/R/files/patch-src_main_Makefile.in (from r455296, head/math/R/files/extra-patch-src_main_Makefile.in)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/R/files/patch-src_main_Makefile.in Fri Dec 1 15:28:01 2017 (r455297, copy of r455296, head/math/R/files/extra-patch-src_main_Makefile.in)
@@ -0,0 +1,19 @@
+--- src/main/Makefile.in.orig 2017-07-16 08:46:49 UTC
++++ src/main/Makefile.in
+@@ -110,7 +110,7 @@ libR_la_LIBADD = $(MAIN_OBJS) $(EXTRA_STATIC_LIBS) $(
+ libR_la_DEPENDENCIES = $(STATIC_LIBS) $(R_TZONE) @WANT_R_SHLIB_TRUE@ @USE_EXPORTFILES_TRUE@ $(top_builddir)/etc/R.exp
+
+ ## The next is needed for macOS only at present
+-LIBR_LDFLAGS = @LIBR_LDFLAGS@
++LIBR_LDFLAGS = -Wl,-soname,libR.so.%%LIBVER%%
+
+
+ all: R
+@@ -200,6 +200,7 @@ install-bin: installdirs
+ install-lib: installdirs
+ @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
+ @$(SHELL) $(top_srcdir)/tools/copy-if-change $(libR_la) "$(DESTDIR)$(Rexeclibdir)/$(libR_la)"
++ @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(libR_la) $(libR_la).%%LIBVER%%
+ install-static: installdirs
+ @$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)"
+ @$(SHELL) $(top_srcdir)/tools/copy-if-change libR.a "$(DESTDIR)$(Rexeclibdir)/libR.a"
More information about the svn-ports-all
mailing list