Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 09:03:32 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530631 - in head/math/openblas: . files
Message-ID:  <202004040903.03493WNp010341@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sat Apr  4 09:03:31 2020
New Revision: 530631
URL: https://svnweb.freebsd.org/changeset/ports/530631

Log:
  Set a SONAME in libopenblas.so.
  
  PR:		245320
  Submitted by:	/me
  Approved by:	phd_kimberlite (maintainer)

Added:
  head/math/openblas/files/patch-exports_Makefile   (contents, props changed)
Modified:
  head/math/openblas/Makefile

Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile	Sat Apr  4 08:41:37 2020	(r530630)
+++ head/math/openblas/Makefile	Sat Apr  4 09:03:31 2020	(r530631)
@@ -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

Added: head/math/openblas/files/patch-exports_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/openblas/files/patch-exports_Makefile	Sat Apr  4 09:03:31 2020	(r530631)
@@ -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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004040903.03493WNp010341>