On Sun, Sep 02, 2012 at 03:12:01PM -0700, Garrett Cooper wrote:
> On Sun, Sep 2, 2012 at 3:05 PM, Garrett Cooper <[email protected]> wrote:
> > On Sun, Sep 2, 2012 at 2:46 PM, Glen Barber <[email protected]> wrote:
> >> Hi,
> >>
> >> Attached patch fixes 'make distributeworld' and our 'make release'
> >> scripts when WITHOUT_GAMES is set.
> >>
> >> Can someone please comment/test/commit?
> >
> >     It should be `.if ${MK_GAMES} != "no"`. Other than that, LGTM!

You're right, thanks.  New diff attached.

> 
>     I would also dare to go one step further and remove
> `${WORLDTMP}/legacy/usr/games` from BPATH and XPATH when ${MK_GAMES}
> == "no" to reduce the number of path lookups done (this should help
> speed up the build a bit).

Considering how many problems I am finding in our 'make release' build
infrastructure, I would rather not do anything daringly right away.  I
would rather fix the bugs I am finding, be sure things are not broken
differently, and then we can further fix things.

Thank you for the suggestion.

Glen

Index: Makefile.inc1
===================================================================
--- Makefile.inc1       (revision 240060)
+++ Makefile.inc1       (working copy)
@@ -636,7 +636,10 @@
 #
 
 # Non-base distributions produced by the base system
-EXTRA_DISTRIBUTIONS=   doc games
+EXTRA_DISTRIBUTIONS=   doc
+.if ${MK_GAMES} != "no"
+EXTRA_DISTRIBUTIONS+=  games
+.endif
 .if defined(LIB32TMP) && ${MK_LIB32} != "no"
 EXTRA_DISTRIBUTIONS+=  lib32
 .endif

Attachment: pgpPWQoTsctru.pgp
Description: PGP signature

Reply via email to