Date: Sat, 16 Oct 2021 10:22:55 GMT From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8c134c7c6596 - main - math/librsb: Allow package building, add option for local optimization. Message-ID: <202110161022.19GAMtDN024444@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c134c7c6596ff60940e9f478fe512fcef595e38 commit 8c134c7c6596ff60940e9f478fe512fcef595e38 Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2021-10-16 10:18:49 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> 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 <felix@palmen-it.de> --- 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110161022.19GAMtDN024444>