diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2021-07-18 15:37:07 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2021-07-18 15:57:30 +0000 |
commit | 66f727881fa71278eb1c0941467e43a7579df876 (patch) | |
tree | e7bdfe538a6c49a4adfe18aa77bd6e6cdd288cb6 | |
parent | 385516904c1e1402e9a9ceb7327d8b9b1874732f (diff) |
math/lapack: fix broken lib symlink
In lapack-3.10.0, there is a broken sym link for libtmglib.so.3.10.0
(should be a file):
/usr/local/lib/libtmglib.so.3@ -> libtmglib.so.3.10.0
/usr/local/lib/libtmglib.so.3.10.0@ -> libtmglib.so.3
Just remove the unnecessary code in post-install for libtmglib shared
lib files. 'do-install' does everything correctly.
PR: 257139
Reported by: John Hein <jcfyecrayz (at) liamekaens.com>
(cherry picked from commit 8af3d45c8b1fbc2ace55eccd74b93defffce5b1a)
-rw-r--r-- | math/lapack/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index a31c73eb8fa1..128c6f2eb4da 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -2,7 +2,11 @@ PORTNAME?= lapack PORTVERSION= 3.10.0 +.if !(defined(BLAS_SLAVEPORT) || defined(CBLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT) || defined(LAPACKE_SLAVEPORT)) +PORTREVISION= 1 +.else PORTREVISION?= 0 # Never remove this line, keep PORTREVISION?=0 in case. +.endif CATEGORIES= math MASTER_SITES= https://github.com/Reference-LAPACK/lapack/archive/refs/tags/:src \ http://www.netlib.org/lapack/:man @@ -163,10 +167,6 @@ post-install: .else # Lapack ${INSTALL_DATA} ${BUILD_WRKSRC}/SRC/liblapack.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${BUILD_WRKSRC}/TESTING/MATGEN/libtmglib.a ${STAGEDIR}${PREFIX}/lib - ${MV} ${STAGEDIR}${PREFIX}/lib/libtmglib.so \ - ${STAGEDIR}${PREFIX}/lib/libtmglib.so.${PORTVERSION} - ${LN} -sf libtmglib.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtmglib.so - ${LN} -sf libtmglib.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtmglib.so.${SVERSION} .endif .include <bsd.port.post.mk> |