[Bug 291135] devel/ode: port needs to be flavored for single/double precision
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Nov 2025 15:04:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291135
Bug ID: 291135
Summary: devel/ode: port needs to be flavored for single/double
precision
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: acm@FreeBSD.org
Reporter: fuz@FreeBSD.org
Assignee: acm@FreeBSD.org
CC:
Flags: maintainer-feedback?(acm@FreeBSD.org)
The ODE library can be built for single and double precision.
The default is to build it for single precision on 32 bits, double precision on
64 bits. Unfortunately some consumers like games/alienarena require a specific
precision to build, causing build failures when ODE is built with the wrong
one.
There are three possible solutions:
a) add an option to configure the precision at build time, with double being
the
default.
b) always set precision to 64 bits, as is the default on 64 bit platforms
c) flavorize the port for single/double, ideally such that both can be
installed
at the same time.
I recommend going for option (c) or (b).
--
You are receiving this mail because:
You are the assignee for the bug.