diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-04 17:03:31 +0800 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-04 17:03:31 +0800 |
commit | 1649f8e10f3a5db5d328cb8f33d331b7544d52f2 (patch) | |
tree | ab1a2ae25d4c467b5157ce3423e16ad9ddd53bec /math | |
parent | d17902617752d5babfc1512f1db486b7e71e4e34 (diff) | |
download | freebsd-ports-gnome-1649f8e10f3a5db5d328cb8f33d331b7544d52f2.tar.gz freebsd-ports-gnome-1649f8e10f3a5db5d328cb8f33d331b7544d52f2.tar.zst freebsd-ports-gnome-1649f8e10f3a5db5d328cb8f33d331b7544d52f2.zip |
Set a SONAME in libopenblas.so.
PR: 245320
Submitted by: /me
Approved by: phd_kimberlite (maintainer)
Diffstat (limited to 'math')
-rw-r--r-- | math/openblas/Makefile | 2 | ||||
-rw-r--r-- | math/openblas/files/patch-exports_Makefile | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/math/openblas/Makefile b/math/openblas/Makefile index dbb1db9e90a3..5dada7bef53e 100644 --- a/math/openblas/Makefile +++ b/math/openblas/Makefile @@ -4,7 +4,7 @@ PORTNAME= openblas PORTVERSION= 0.3.7 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= math MASTER_SITES= NL/lapack/timing/:lapack_tmg diff --git a/math/openblas/files/patch-exports_Makefile b/math/openblas/files/patch-exports_Makefile new file mode 100644 index 000000000000..26dccbab2baf --- /dev/null +++ b/math/openblas/files/patch-exports_Makefile @@ -0,0 +1,11 @@ +--- exports/Makefile.orig 2019-08-11 21:23:27 UTC ++++ exports/Makefile +@@ -184,7 +184,7 @@ else + endif + $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ + -Wl,--whole-archive $< -Wl,--no-whole-archive \ +- $(FEXTRALIB) $(EXTRALIB) ++ -Wl,-soname,$(LIBSONAME) $(FEXTRALIB) $(EXTRALIB) + $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. + rm -f linktest + |