Changeset View
Changeset View
Standalone View
Standalone View
head/math/R/files/extra-patch-src_extra_blas_Makefile.in
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/extra/blas/Makefile.in.orig 2017-07-16 08:46:49 UTC | |||||
+++ src/extra/blas/Makefile.in | |||||
@@ -19,7 +19,7 @@ SOURCES = blas00.c blas.f cmplxblas.f | |||||
Rblas_la = libRblas$(R_DYLIB_EXT) | |||||
## @RBLAS_LDFLAGS@ is used on macOS | |||||
## first for internal BLAS | |||||
-Rblas_la_LIBADD = @RBLAS_LDFLAGS@ $(FLIBS_IN_SO) | |||||
+Rblas_la_LIBADD = -Wl,-soname,libRblas.so.%%LIBVER%% $(FLIBS_IN_SO) | |||||
## then external one | |||||
Rblas_la_LIBADD0 = @RBLAS_LDFLAGS@ | |||||
@@ -43,6 +43,7 @@ Rblas_install: $(Rblas_la) | |||||
@$(MKINSTALLDIRS) $(DESTDIR)$(Rexeclibdir) | |||||
@$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rblas_la) \ | |||||
$(DESTDIR)$(Rexeclibdir)/$(Rblas_la) | |||||
+ @cd $(DESTDIR)$(Rexeclibdir) && ln -s $(Rblas_la) $(Rblas_la).%%LIBVER%% | |||||
Rblas_install-strip: $(Rblas_la) | |||||
@$(MKINSTALLDIRS) $(DESTDIR)$(Rexeclibdir) | |||||
@@ -50,6 +51,7 @@ Rblas_install-strip: $(Rblas_la) | |||||
@if test -n "$(STRIP_LIBS)"; then \ | |||||
$(STRIP_LIBS) "$(DESTDIR)$(Rexeclibdir)/$(Rblas_la)" ;\ | |||||
fi | |||||
+ @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(Rblas_la) $(Rblas_la).%%LIBVER%% | |||||
mostlyclean: clean | |||||
clean: |