Buildworld fails in 5.1
Tim Kientzle
kientzle at acm.org
Mon Jul 21 09:33:31 PDT 2003
Gordon Tetlow wrote:
> It seems that the $(OUTPUTS) target (which has 3 components) causes
> this particular error.
>
> +.ORDER: $(OUTPUTS)
> $(OUTPUTS): $(CONF)
> MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) -c $(OUTC) \
> $(CONF)
Hmmm... Is that what .ORDER is for? To work around a
parallel make that gratuitously rebuilds things?
> After doing that, I run into a problem with clparse.o from the dhclient
> build. I think I might have a solution for that, but I'm too tired
> right now to think straight. I'll look at it tomorrow.
A-ha! I've known that dhclient was a problem, but the
above gives me an idea. I wonder if the following helps?
Tim
Index: sbin/dhclient//Makefile
===================================================================
RCS file: /usr/cvs/FreeBSD-CVS/src/sbin/dhclient/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- sbin/dhclient/Makefile 29 Jun 2003 18:46:17 -0000 1.20
+++ sbin/dhclient/Makefile 21 Jul 2003 16:34:22 -0000
@@ -52,6 +52,8 @@
# though, so we must run ``make all'' instead when we are asked to
# generate an individual object file.
+.ORDER: $(OBJS)
+
# Note: Must have some commands here to override the default build action
${OBJS}: all
@true
More information about the freebsd-current
mailing list