mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
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>
This commit is contained in:
parent
4460cf727a
commit
8c134c7c65
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user