[CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 25 23:03:22 UTC 2012


On Thu, Oct 25, 2012 at 10:21:59PM +0100, Chris Rees wrote:
> On 25 October 2012 22:15, David O'Brien <obrien at freebsd.org> wrote:
> > On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote:
> >> two independent efforts (ATF & bmake) and there was no indication that
> >> one would be greatly benefitted from the other. At least not to the
> >> point of creating a dependency.
> >
> > It seems we do have the situation where folks feel there is a dependency
> > between the two.
> >
> >> Before we can switch permanently to bmake, we need to do the following
> >> first:
> >> 1.  Request an EXP ports build with bmake as make(1). This should tell
> >>     us the "damage" of switching to bmake for ports.
> >> 2.  In parallel with 1: build www & docs with bmake and assess the
> >>     damage
> >> 3.  Fix all the damage
> >>
> >> It could be a while (many weeks) before we get to 4, so the question
> >
> > Given the time this will take, I feel we need to add another knob to the
> > Bmake build so that 'make world' gives one both the FreeBSD make as
> > /usr/bin/make and Bmake as /usr/bin/bmake.
> >
> 
> We really aren't going to have any luck yet...
> 
> [crees at pegasus]/usr/ports% sudo make MAKE=/usr/bin/bmake index |& head
> Generating INDEX-9 - please wait..bmake: "/usr/ports/Mk/bsd.port.mk"
> line 5127: warning: duplicate script for target "-depends" ignored
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous
> script for "-depends" defined here
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate
> script for target "-depends" ignored
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous
> script for "-depends" defined here
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate
> script for target "-depends" ignored
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous
> script for "-depends" defined here
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate
> script for target "-depends" ignored
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous
> script for "-depends" defined here
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate
> script for target "-depends" ignored
> bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous
> script for "-depends" defined here
> 
> Looks like a few missing .if !target s, but the breakage is pretty big
> even for simple things :/
> 

Have you converted the :U to :tu and :L to :tl?

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20121026/fa66133d/attachment.sig>


More information about the freebsd-hackers mailing list