[Bug 259200] math/librsb: prevents package building, but doesn't optimize for local machine
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Oct 2021 07:50:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259200 Bug ID: 259200 Summary: math/librsb: prevents package building, but doesn't optimize for local machine Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: stephen@FreeBSD.org Reporter: felix@palmen-it.de Assignee: stephen@FreeBSD.org Flags: maintainer-feedback?(stephen@FreeBSD.org) Created attachment 228740 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228740&action=edit 0001-math-librsb-add-OPTIMIZE-option Upstream's configure.ac contains a lot of logic to enable builds optimized for the local machine, but it seems this only happens when a hardcoded variable is changed from 'no' to 'yes'. Therefore, I suggest to add a port option enabling this and remove the restriction for package building. The attached patch also makes sure to pass CFLAGS to the configure script in a way that allows it to combine them with upstream's CFLAGS. I also found the distfile on all SF mirrors is slightly larger than the one expected in distinfo. As I don't have the old distfile, I can't check whether this is actually legit. -- You are receiving this mail because: You are the assignee for the bug.