LDFLAGS mystery

Stephen Montgomery-Smith stephen at missouri.edu
Sat Jan 21 21:02:39 UTC 2012

If I build a port that uses "USE_FORTRAN", then the variable ${LDFLAGS} 
has an extra space in it.  For example

%cd /usr/ports/math/lapack
%make -V LDFLAGS

%make -V MAKE_ENV
.... LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc46" ...

I am trying to create a port in which this creates problems.

Where does the extra space at the beginning come from, and how do I get 
rid of it?

More information about the freebsd-ports mailing list