DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How to make INSTALLS_DEPENDS?


From: Max Okumoto <okumoto@xxxxxxxx>
Date: Mon, 04 Apr 2005 12:07:26 -0700

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]