How to make INSTALLS_DEPENDS?
Max Okumoto
okumoto at ucsd.edu
Mon Apr 4 12:07:26 PDT 2005
YONETANI Tomokazu wrote:
On Mon, Apr 04, 2005 at 05:52:05AM -0700, Max Okumoto wrote:
And it looks like its something in .MAKEFLAGS
something is inserting a space in "-D INSTALL_DEPENDS"
It happens on FreeBSD too so it should be OK. The biggest difference
is how make command in DragonFly parses MAKEFLAGS:
[FreeBSD]
$ env MAKEFLAGS='FOO= -D BAR' make
make: no target to make.
[DragonFly]
$ env MAKEFLAGS='FOO= -D BAR' make
make: don't know how to make BAR. Stop
Sorry wasn't clear.
MAKEFLAGS contains the folllowing which is the error.
ARCH=i386 OPSYS=FreeBSD OSREL=4.8 OSVERSION=480102 PORTOBJFORMAT=elf
SYSTEMVERSION= -D INSTALLS_DEPENDS ARCH=i386 OPSYS=FreeBSD OSREL=4.8
OSVERSION=480102 PORTOBJFORMAT=elf SYSTEMVERSION
As you can see, ARCH and some other variables are assigned twice, and
"-D INSTALLS_DEPENDS" has a space between the D and the I.
Something is inserting a space between the -D and INSTALL_DEPENDS.
It should be -DINSTALL_DEPENDS
There should be no difference between FreeBSD processing of MAKEFLAGS
since harti and I are working to keep them in sync.
It is a problem with recursive makes. Will be chasing this down soon.
Max
More information about the Users
mailing list