Port "devel/ode" is a rigid body physics simulation library. It allows for single or double precision simulations by specifying the "--enable-double-precision" to the configure script. This option is supported in the ports infrastructre as a knob in the configuration dialog. However, when it is selected, the configuration (running the "configure" script) of the port prints out a strange line: ... checking if double precision is requested... yes CPPFLAGS+= -DdDOUBLE: not found checking which drawstuff lib to build... X11 ... Looking at the script: ... if test "$precision" = yes; then ODE_PRECISION=-DdDOUBLE else ODE_PRECISION=-DdSINGLE fi CPPFLAGS+=" $ODE_PRECISION" ... Apparently, "/bin/sh" does not support operand "+=", so this line is interpreted as a command, instead of as a variable assignation. Fix: The following patch should work: How-To-Repeat: Enable double precision in the configuration dialog and compile.
Responsible Changed From-To: freebsd-ports-bugs->acm Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed - Committed thanks!!
acm 2011-04-08 06:34:13 UTC FreeBSD ports repository Modified files: devel/ode Makefile distinfo Log: - Update to 0.11.1 - Fix double precision detection [1] PR: 155446 Submitted by: Fernando Herrero <fhcarron _ at _terra.es> [1] Revision Changes Path 1.28 +3 -3 ports/devel/ode/Makefile 1.10 +2 -3 ports/devel/ode/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"