mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
files/patch-src_main_Makefile.in, so that the SONAME for libR is included. This was intended for r455296.
19 lines
867 B
Text
19 lines
867 B
Text
--- 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"
|