From nobody Sat Oct 16 10:22:55 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6D1CF181282A; Sat, 16 Oct 2021 10:22:55 +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 4HWfNH2dN0z3lYf; Sat, 16 Oct 2021 10:22:55 +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 3A22917DFE; Sat, 16 Oct 2021 10:22:55 +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 19GAMt7M024445; Sat, 16 Oct 2021 10:22:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19GAMtDN024444; Sat, 16 Oct 2021 10:22:55 GMT (envelope-from git) Date: Sat, 16 Oct 2021 10:22:55 GMT Message-Id: <202110161022.19GAMtDN024444@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stephen Montgomery-Smith Subject: git: 8c134c7c6596 - main - math/librsb: Allow package building, add option for local optimization. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: stephen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c134c7c6596ff60940e9f478fe512fcef595e38 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c134c7c6596ff60940e9f478fe512fcef595e38 commit 8c134c7c6596ff60940e9f478fe512fcef595e38 Author: Stephen Montgomery-Smith AuthorDate: 2021-10-16 10:18:49 +0000 Commit: Stephen Montgomery-Smith CommitDate: 2021-10-16 10:18:49 +0000 math/librsb: Allow package building, add option for local optimization. Also update distinfo, and bump portrevision. PR: 259200 Reported by: Felix Palmen --- math/librsb/Makefile | 12 +++++++++--- math/librsb/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/math/librsb/Makefile b/math/librsb/Makefile index 5a58c4fc3a5a..6fa5cc695476 100644 --- a/math/librsb/Makefile +++ b/math/librsb/Makefile @@ -2,7 +2,7 @@ PORTNAME= librsb PORTVERSION= 1.2.0.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/librsb DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/} @@ -24,14 +24,20 @@ GNU_CONFIGURE= yes CFLAGS+= -fPIC CONFIGURE_ARGS= --enable-fortran-module-install \ --enable-matrix-types="double, double complex" +CONFIGURE_ENV= CFLAGS= SPCFLAGS="${CFLAGS}" SHEBANG_FILES= scripts/*.sh examples/make.sh.in USE_LDCONFIG= yes -MANUAL_PACKAGE_BUILD= Optimizes for the local machine +OPTIONS_DEFINE= DOCS OPTIMIZE -OPTIONS_DEFINE= DOCS +OPTIMIZE_DESC= Optimize for the local machine +OPTIMIZE_CONFIGURE_ENV= SPCFLAGS="${CFLAGS:N-O*}" post-patch: @${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh +post-patch-OPTIMIZE-on: + @${REINPLACE_CMD} s/enable_optimize=no/enable_optimize=yes/ \ + ${WRKSRC}/configure + .include diff --git a/math/librsb/distinfo b/math/librsb/distinfo index cd5cda99cf71..b4d70ad54599 100644 --- a/math/librsb/distinfo +++ b/math/librsb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1631809564 -SHA256 (librsb-1.2.0.10.tar.gz) = 6cfe102e92132d434ddb289782f902b57eab43fd8ca054830b0d4d162ea78829 -SIZE (librsb-1.2.0.10.tar.gz) = 2396127 +TIMESTAMP = 1634308494 +SHA256 (librsb-1.2.0.10.tar.gz) = ec49f3f78a7c43fc9e10976593d100aa49b1863309ed8fa3ccbb7aad52d2f7b8 +SIZE (librsb-1.2.0.10.tar.gz) = 2396145