From owner-dev-commits-ports-all@freebsd.org Sun Jul 18 15:53:02 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 614A566CA62; Sun, 18 Jul 2021 15:53:02 +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 4GSTyk2GTNz3ClF; Sun, 18 Jul 2021 15:53:02 +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 3514A2682E; Sun, 18 Jul 2021 15:53:02 +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 16IFr2Fp076296; Sun, 18 Jul 2021 15:53:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16IFr2UT076295; Sun, 18 Jul 2021 15:53:02 GMT (envelope-from git) Date: Sun, 18 Jul 2021 15:53:02 GMT Message-Id: <202107181553.16IFr2UT076295@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 8af3d45c8b1f - main - 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/main X-Git-Reftype: branch X-Git-Commit: 8af3d45c8b1fbc2ace55eccd74b93defffce5b1a 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:53:02 -0000 The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=8af3d45c8b1fbc2ace55eccd74b93defffce5b1a commit 8af3d45c8b1fbc2ace55eccd74b93defffce5b1a Author: Thierry Thomas AuthorDate: 2021-07-18 15:37:07 +0000 Commit: Thierry Thomas CommitDate: 2021-07-18 15:40:50 +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 --- math/lapack/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 66774d40d1fe..73253ef2c45a 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 \ @@ -164,10 +168,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