From owner-dev-commits-ports-all@freebsd.org Sun Jul 18 15:57:44 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 906BA66C375; Sun, 18 Jul 2021 15:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GSV483Lppz3D79; Sun, 18 Jul 2021 15:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 581212669B; Sun, 18 Jul 2021 15:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16IFvixB076742; Sun, 18 Jul 2021 15:57:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16IFviXr076741; Sun, 18 Jul 2021 15:57:44 GMT (envelope-from git) Date: Sun, 18 Jul 2021 15:57:44 GMT Message-Id: <202107181557.16IFviXr076741@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Thierry Thomas Subject: git: 66f727881fa7 - 2021Q3 - math/lapack: fix broken lib symlink MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q3 X-Git-Reftype: branch X-Git-Commit: 66f727881fa71278eb1c0941467e43a7579df876 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2021 15:57:44 -0000 The branch 2021Q3 has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=66f727881fa71278eb1c0941467e43a7579df876 commit 66f727881fa71278eb1c0941467e43a7579df876 Author: Thierry Thomas AuthorDate: 2021-07-18 15:37:07 +0000 Commit: Thierry Thomas CommitDate: 2021-07-18 15:57:30 +0000 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 (cherry picked from commit 8af3d45c8b1fbc2ace55eccd74b93defffce5b1a) --- math/lapack/Makefile | 8 ++++---- 1 file 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