diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2021-10-16 10:18:49 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2021-10-16 10:18:49 +0000 |
commit | 8c134c7c6596ff60940e9f478fe512fcef595e38 (patch) | |
tree | b03d847f89af15bc475324d3bbe826b241760999 /math | |
parent | 4460cf727a7788c9ce21f3344ce5745e5cd9fc4a (diff) | |
download | ports-8c134c7c6596ff60940e9f478fe512fcef595e38.tar.gz ports-8c134c7c6596ff60940e9f478fe512fcef595e38.zip |
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>
Diffstat (limited to 'math')
-rw-r--r-- | math/librsb/Makefile | 12 | ||||
-rw-r--r-- | 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 |