Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2012 15:02:37 -0600
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        FreeBSD Ports <freebsd-ports@FreeBSD.org>
Cc:        Stephen Montgomery-Smith <stephen@FreeBSD.org>
Subject:   LDFLAGS mystery
Message-ID:  <4F1B27ED.9070005@missouri.edu>

next in thread | raw e-mail | index | archive | help
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
  -Wl,-rpath=/usr/local/lib/gcc46

%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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1B27ED.9070005>