FreeBSD Bugzilla – Attachment 228740 Details for
Bug 259200
math/librsb: prevents package building, but doesn't optimize for local machine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-math-librsb-add-OPTIMIZE-option
0001-math-librsb-add-OPTIMIZE-option.patch (text/plain), 1.95 KB, created by
Felix Palmen
on 2021-10-16 07:50:15 UTC
(
hide
)
Description:
0001-math-librsb-add-OPTIMIZE-option
Filename:
MIME Type:
Creator:
Felix Palmen
Created:
2021-10-16 07:50:15 UTC
Size:
1.95 KB
patch
obsolete
>From b6ab6646e863b888a1f7a594c4afe39a2e97deec Mon Sep 17 00:00:00 2001 >From: Felix Palmen <felix@palmen-it.de> >Date: Sat, 16 Oct 2021 09:42:56 +0200 >Subject: [PATCH] math/librsb: add OPTIMIZE option > >add option to actually build optimized for the local machine and don't >prevent package building. Also fix re-rolled distfile. >--- > 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 >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259200
: 228740