Re: svn commit: r236338 - head/usr.bin/make

2012-05-31 Thread Simon J. Gerraty
Hi Kevin, On Wed, 30 May 2012 22:45:57 -0400, Kevin P. Neal writes: Deprecate the FreeBSD make's :U (to-upper case) and :L (to-lower case) modifiers for :tu and :tl from OSF's ODE, which made its way into NetBSD's make, which is the source for the Portable Berkeley Make. This is an

svn commit: r242000 - head/share/misc

2012-10-24 Thread Simon J. Gerraty
=Sepherosa Ziehau\nse...@freebsd.org\n2007/03/28] sepotvin [label=Stephane E. Potvin\nsepot...@freebsd.org\n2007/02/15] simon [label=Simon L. Nielsen\nsi...@freebsd.org\n2006/03/07] +sjg [label=Simon J. Gerraty\n...@freebsd.org\n2012/10/23] sobomax [label=Maxim Sobolev\nsobo...@freebsd.org\n2001/07/25

svn commit: r242093 - vendor/NetBSD/bmake/dist

2012-10-25 Thread Simon J. Gerraty
(r242092) +++ vendor/NetBSD/bmake/dist/ChangeLog Thu Oct 25 20:31:22 2012 (r242093) @@ -1,3 +1,27 @@ +2012-10-10 Simon J. Gerraty s...@bad.crufty.net + + * Makefile.in (MAKE_VERSION): 20121010 + o protect syntax that only bmake parses correctly. + o remove auto

svn commit: r242094 - vendor/NetBSD/bmake/20121010

2012-10-25 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 25 20:34:44 2012 New Revision: 242094 URL: http://svn.freebsd.org/changeset/base/242094 Log: Tag bmake/20121010 Approved by: marcel (mentor) Added: vendor/NetBSD/bmake/20121010/ - copied from r242093, vendor/NetBSD/bmake/dist/

svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-10-25 Thread Simon J. Gerraty
== --- head/contrib/bmake/ChangeLogThu Oct 25 22:54:29 2012 (r242101) +++ head/contrib/bmake/ChangeLogThu Oct 25 23:18:05 2012 (r242102) @@ -1,3 +1,27 @@ +2012-10-10 Simon J. Gerraty s...@bad.crufty.net + + * Makefile.in (MAKE_VERSION

svn commit: r242501 - head/usr.sbin/makefs

2012-11-02 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 3 00:10:30 2012 New Revision: 242501 URL: http://svn.freebsd.org/changeset/base/242501 Log: If no contents keyword is specified, the default for files is the named file. Approved by: marcel (mentor) Modified: head/usr.sbin/makefs/mtree.c Modified:

svn commit: r242710 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
$ - -.include bsd.init.mk - -.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm - -.if ${MK_MAN} == no -NO_MAN= +# $Id: progs.mk,v 1.11 2012/11/06 17:18:54 sjg Exp $ +# +# @(#) Copyright (c) 2006, Simon J. Gerraty +# +# This file is provided in the hope that it will +# be of use

svn commit: r242711 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:02:02 2012 New Revision: 242711 URL: http://svnweb.freebsd.org/changeset/base/242711 Log: Enable ATF testing. Submitted by: Garrett Cooper Approved by: marcel (mentor) Added: head/share/mk/atf.test.mk (contents, props changed)

svn commit: r242712 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:02:53 2012 New Revision: 242712 URL: http://svnweb.freebsd.org/changeset/base/242712 Log: Add ATF and reformat to ease reviews Approved by: marcel (mentor) Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

svn commit: r242713 - head/lib/libcrypt/tests

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:03:59 2012 New Revision: 242713 URL: http://svnweb.freebsd.org/changeset/base/242713 Log: Simple unit-tests for libcrypt, to show how easy it is. Approved by: marcel (mentor) Added: head/lib/libcrypt/tests/ head/lib/libcrypt/tests/Makefile (contents,

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-15 Thread Simon J. Gerraty
I aim to import bmake-20121109 soon (once I sort out svn 1.7.7 bug), will loook at this as well. On Wed, 14 Nov 2012 19:27:49 +, Chris Rees writes: I was kicking the tires on this and noticed bmake is dynamically linked. Can you change it to being statically linked?

svn commit: r243105 - in vendor/NetBSD/bmake/dist: . unit-tests

2012-11-15 Thread Simon J. Gerraty
== --- vendor/NetBSD/bmake/dist/ChangeLog Thu Nov 15 21:22:50 2012 (r243104) +++ vendor/NetBSD/bmake/dist/ChangeLog Thu Nov 15 22:01:30 2012 (r243105) @@ -1,3 +1,28 @@ +2012-11-11 Simon J. Gerraty s

svn commit: r243106 - vendor/NetBSD/bmake/bmake-20121111

2012-11-15 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 15 22:05:18 2012 New Revision: 243106 URL: http://svnweb.freebsd.org/changeset/base/243106 Log: Tag bmake-2012 Approved by: marcel (mentor) Added: vendor/NetBSD/bmake/bmake-2012/ - copied from r243105, vendor/NetBSD/bmake/dist/

svn commit: r243115 - in head: contrib/bmake contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2012-11-15 Thread Simon J. Gerraty
/bmake/ChangeLogFri Nov 16 01:24:11 2012 (r243114) +++ head/contrib/bmake/ChangeLogFri Nov 16 01:37:25 2012 (r243115) @@ -1,3 +1,28 @@ +2012-11-11 Simon J. Gerraty s...@bad.crufty.net + + * Makefile.in (MAKE_VERSION): 2012 + fix generation

svn commit: r243392 - head/share/mk

2012-11-21 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 22 04:50:42 2012 New Revision: 243392 URL: http://svnweb.freebsd.org/changeset/base/243392 Log: INSTALL_AS_USER: output of id -un will never match 0 so use id -u and USER for BINOWN etc. Approved by: marcel (mentor) Modified: head/share/mk/bsd.own.mk

svn commit: r243393 - head/share/mk

2012-11-21 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 22 04:53:09 2012 New Revision: 243393 URL: http://svnweb.freebsd.org/changeset/base/243393 Log: If .PARSEDIR is defined we have bmake, and CTFCONVERT_CMD can be empty. PR: 172440 Approved by: marcel (mentor) Modified: head/share/mk/bsd.own.mk

Re: Reviewing before commit and stability minibikeshed (Re: svn commit: r243627 - head/sys/kern)

2012-11-28 Thread Simon J. Gerraty
On 11/28/12 7:49 PM, Garrett Cooper wrote: I know it's sort of done in some groups [based on commit messages], but it w ould be nice to have it better formalized and socialized as well. Things like Trying to get too formalized could be counter productive. An extension of this code review

svn commit: r243713 - head

2012-11-30 Thread Simon J. Gerraty
Author: sjg Date: Fri Nov 30 20:50:34 2012 New Revision: 243713 URL: http://svnweb.freebsd.org/changeset/base/243713 Log: The build-tools step during build32 also needs the -legacy magic. Approved by: marcel (mentor) Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r251352 - head

2013-06-03 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 3 23:51:46 2013 New Revision: 251352 URL: http://svnweb.freebsd.org/changeset/base/251352 Log: bmake does not like universe_${target}_prologue in the .ORDER when there is an explicit dependency for it anyway. Remove it so both bmake and fmake do the same thing.

svn commit: r251420 - vendor/NetBSD/bmake/dist

2013-06-05 Thread Simon J. Gerraty
2013 (r251420) @@ -1,3 +1,16 @@ +2013-06-04 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130604 + Merge with NetBSD make, pick up + o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's + to avoid leaking descriptors

svn commit: r251421 - vendor/NetBSD/bmake/20130604

2013-06-05 Thread Simon J. Gerraty
Author: sjg Date: Wed Jun 5 15:52:24 2013 New Revision: 251421 URL: http://svnweb.freebsd.org/changeset/base/251421 Log: Tag bmake-20130604 Added: vendor/NetBSD/bmake/20130604/ - copied from r251420, vendor/NetBSD/bmake/dist/ ___

svn commit: r251422 - in head: contrib/bmake usr.bin/bmake

2013-06-05 Thread Simon J. Gerraty
:52:24 2013 (r251421) +++ head/contrib/bmake/ChangeLogWed Jun 5 16:12:50 2013 (r251422) @@ -1,3 +1,16 @@ +2013-06-04 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130604 + Merge with NetBSD make, pick up + o job.c: JobCreatePipe

svn commit: r251506 - head/share/mk

2013-06-07 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 7 19:45:04 2013 New Revision: 251506 URL: http://svnweb.freebsd.org/changeset/base/251506 Log: Override bmake's default MAKEFILE_PREFERENCE Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk

svn commit: r251693 - head

2013-06-13 Thread Simon J. Gerraty
Author: sjg Date: Thu Jun 13 18:39:17 2013 New Revision: 251693 URL: http://svnweb.freebsd.org/changeset/base/251693 Log: Explain remedy for -J error from old make Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r251748 - head/share/mk

2013-06-14 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 14 16:24:07 2013 New Revision: 251748 URL: http://svnweb.freebsd.org/changeset/base/251748 Log: We cannot remove the _+_ trick, until old make is completely deprecated. But we don't want to set it to + for bmake since it breaks make -N which is used to supress the

svn commit: r251749 - head/share/mk

2013-06-14 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 14 16:25:41 2013 New Revision: 251749 URL: http://svnweb.freebsd.org/changeset/base/251749 Log: Flag recursive make targets with .MAKE (has no effect on fmake) make -n will still exectute such targets make -N will not. Reviewed by: obrien Modified:

svn commit: r251750 - head

2013-06-14 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 14 16:30:11 2013 New Revision: 251750 URL: http://svnweb.freebsd.org/changeset/base/251750 Log: Flag recursive make targets with .MAKE so that job token pipe is passed to them. To avoid surprising anyone, only add .MAKE to ${TGTS} when -n has not been specified

svn commit: r251958 - head/contrib/bmake

2013-06-18 Thread Simon J. Gerraty
Author: sjg Date: Tue Jun 18 19:35:51 2013 New Revision: 251958 URL: http://svnweb.freebsd.org/changeset/base/251958 Log: Fix use after free bug. Parse_SetInput: curFile-fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in ParseEOF about

Re: svn commit: r251958 - head/contrib/bmake

2013-06-18 Thread Simon J. Gerraty
Yes. On Tue, 18 Jun 2013 14:25:15 -0700, Garrett Cooper writes: Was this the source of the huge ignoring stale .depend messages? ___ svn-src-all@freebsd.org mailing list

svn commit: r252048 - in stable/9: . share/mk

2013-06-20 Thread Simon J. Gerraty
Author: sjg Date: Thu Jun 20 22:50:08 2013 New Revision: 252048 URL: http://svnweb.freebsd.org/changeset/base/252048 Log: share/mk: merge: r241298,243393,249057,251506 from head for bmake support. Makefile: buildworld etc will be done with make from src tree, make sure that bmake's -J

svn commit: r252073 - in stable/8: . share/mk

2013-06-21 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 21 22:45:03 2013 New Revision: 252073 URL: http://svnweb.freebsd.org/changeset/base/252073 Log: share/mk: merge: r241298,243393,249057,251506 from head for bmake support. merge: r252048 from stable/9 Makefile: merge: r252048 from stable/9 for bmake

svn commit: r252419 - head

2013-06-30 Thread Simon J. Gerraty
Author: sjg Date: Sun Jun 30 15:00:07 2013 New Revision: 252419 URL: http://svnweb.freebsd.org/changeset/base/252419 Log: Use rather than ; when success of previous job matters. Modified: head/Makefile.inc1 head/UPDATING Modified: head/Makefile.inc1

svn commit: r248989 - in vendor/NetBSD/bmake/dist: . mk unit-tests

2013-04-01 Thread Simon J. Gerraty
) +++ vendor/NetBSD/bmake/dist/ChangeLog Mon Apr 1 21:12:55 2013 (r248989) @@ -1,3 +1,47 @@ +2013-03-30 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130330 + Merge with NetBSD make, pick up + o meta.c: refine the handling of .OODATE in commands

svn commit: r248990 - vendor/NetBSD/bmake/20130330

2013-04-01 Thread Simon J. Gerraty
Author: sjg Date: Mon Apr 1 21:13:56 2013 New Revision: 248990 URL: http://svnweb.freebsd.org/changeset/base/248990 Log: Tag bmake-20130330 Added: vendor/NetBSD/bmake/20130330/ - copied from r248989, vendor/NetBSD/bmake/dist/ ___

svn commit: r249033 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2013-04-02 Thread Simon J. Gerraty
/contrib/bmake/ChangeLogTue Apr 2 19:39:31 2013 (r249032) +++ head/contrib/bmake/ChangeLogTue Apr 2 21:31:11 2013 (r249033) @@ -1,3 +1,47 @@ +2013-03-30 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130330 + Merge with NetBSD make

svn commit: r249057 - head/share/mk

2013-04-03 Thread Simon J. Gerraty
Author: sjg Date: Wed Apr 3 16:20:21 2013 New Revision: 249057 URL: http://svnweb.freebsd.org/changeset/base/249057 Log: Tell bmake to use the FreeBSD preferred makefile preference list. PR: 177593 Reviewed by: obrien Modified: head/share/mk/sys.mk Modified:

svn commit: r249395 - head

2013-04-11 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 12 00:34:19 2013 New Revision: 249395 URL: http://svnweb.freebsd.org/changeset/base/249395 Log: If doing buildworld -DWITH_BMAKE make sure bmake does the build. Modified: head/Makefile Modified: head/Makefile

svn commit: r249770 - head/share/mk

2013-04-22 Thread Simon J. Gerraty
Author: sjg Date: Mon Apr 22 18:11:29 2013 New Revision: 249770 URL: http://svnweb.freebsd.org/changeset/base/249770 Log: Pass more variables to bsd.prog.mk and only append to already defined variables. Submitted by: Garrett Cooper Modified: head/share/mk/bsd.progs.mk Modified:

svn commit: r250164 - head/contrib/bmake

2013-05-01 Thread Simon J. Gerraty
Author: sjg Date: Wed May 1 23:58:39 2013 New Revision: 250164 URL: http://svnweb.freebsd.org/changeset/base/250164 Log: Local hack to allow smooth transition for ports. bsd.port.mk can set .MAKE.FreeBSD_UL=yes to cause :L and :U to have their old behavior. This should be reverted when

svn commit: r250699 - in head: share/mk usr.bin/make

2013-05-16 Thread Simon J. Gerraty
Author: sjg Date: Thu May 16 15:28:38 2013 New Revision: 250699 URL: http://svnweb.freebsd.org/changeset/base/250699 Log: Build bmake by default. If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks Modified:

svn commit: r250719 - in head: . usr.bin/make

2013-05-16 Thread Simon J. Gerraty
Author: sjg Date: Thu May 16 21:26:46 2013 New Revision: 250719 URL: http://svnweb.freebsd.org/changeset/base/250719 Log: Reverse the sense of the test wrt bmake, and guard against MK_BMAKE not being defined. Modified: head/Makefile head/usr.bin/make/Makefile Modified: head/Makefile

svn commit: r250750 - in head: contrib/bmake usr.bin/bmake

2013-05-17 Thread Simon J. Gerraty
Author: sjg Date: Fri May 17 19:37:16 2013 New Revision: 250750 URL: http://svnweb.freebsd.org/changeset/base/250750 Log: We really need to get the bsd.own.mk from this tree so the correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake. Modified:

Re: svn commit: r250699 - in head: share/mk usr.bin/make

2013-05-17 Thread Simon J. Gerraty
For me /usr/src is a symlink to /some/path and now if I build from /usr/src some parts end up in /usr/obj/usr/src and other parts in /usr/obj/some/path. It used to be the latter. This could be the result of some bits being built by the old freebsd make. Since the early stage of buildworld

svn commit: r250755 - head/usr.bin/bmake

2013-05-17 Thread Simon J. Gerraty
Author: sjg Date: Fri May 17 22:18:27 2013 New Revision: 250755 URL: http://svnweb.freebsd.org/changeset/base/250755 Log: Per the comment, we cannot rely on bsd.own.mk we could be on an old system that knows noting of MK_BMAKE or on an almost up to date one that is defaulting it to no

Re: svn commit: r250699 - in head: share/mk usr.bin/make

2013-05-17 Thread Simon J. Gerraty
On Fri, 17 May 2013 23:34:08 +0200, Tijl Coosemans writes: When the output of /usr/local/libexec/portconf is empty make warns about it: Yes. This is to avoid accidents. If you *know* that no output is a valid result, you can add '; echo' to the end of the command to suppress the warning.

svn commit: r250770 - head/contrib/bmake

2013-05-18 Thread Simon J. Gerraty
Author: sjg Date: Sat May 18 13:07:01 2013 New Revision: 250770 URL: http://svnweb.freebsd.org/changeset/base/250770 Log: Var_Delete: expand name to delete if needed. Modified: head/contrib/bmake/var.c Modified: head/contrib/bmake/var.c

svn commit: r250771 - head/contrib/bmake

2013-05-18 Thread Simon J. Gerraty
Author: sjg Date: Sat May 18 13:15:19 2013 New Revision: 250771 URL: http://svnweb.freebsd.org/changeset/base/250771 Log: Match what is in netbsd. Modified: head/contrib/bmake/var.c Modified: head/contrib/bmake/var.c

svn commit: r250773 - head/contrib/bmake

2013-05-18 Thread Simon J. Gerraty
Author: sjg Date: Sat May 18 13:24:53 2013 New Revision: 250773 URL: http://svnweb.freebsd.org/changeset/base/250773 Log: Fix wildcard srcs for phony targets Modified: head/contrib/bmake/suff.c Modified: head/contrib/bmake/suff.c

Re: svn commit: r250699 - in head: share/mk usr.bin/make

2013-05-18 Thread Simon J. Gerraty
On Fri, 17 May 2013 23:34:08 +0200, Tijl Coosemans writes: _PORTCONF!=3D/usr/local/libexec/portconf =2Efor i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} Is it possible to re-write this to be less dependent on how .for is parsed? Eg. assuming i is foo=[%]blah%goo ${i:C,=.*,,g} = ${i:C,.*=%*,,:S,%, ,g}

svn commit: r250811 - vendor/NetBSD/bmake

2013-05-19 Thread Simon J. Gerraty
Author: sjg Date: Sun May 19 16:45:17 2013 New Revision: 250811 URL: http://svnweb.freebsd.org/changeset/base/250811 Log: Automate import dance Modified: vendor/NetBSD/bmake/do-update.sh Modified: vendor/NetBSD/bmake/do-update.sh

svn commit: r250835 - in vendor/NetBSD/bmake/dist: . mk

2013-05-20 Thread Simon J. Gerraty
== --- vendor/NetBSD/bmake/dist/ChangeLog Mon May 20 22:18:18 2013 (r250834) +++ vendor/NetBSD/bmake/dist/ChangeLog Mon May 20 22:35:32 2013 (r250835) @@ -1,3 +1,17 @@ +2013-05-20 Simon J. Gerraty s...@bad.crufty.net

svn commit: r250836 - vendor/NetBSD/bmake/20130520

2013-05-20 Thread Simon J. Gerraty
Author: sjg Date: Mon May 20 22:37:10 2013 New Revision: 250836 URL: http://svnweb.freebsd.org/changeset/base/250836 Log: Tag bmake-20130520 Added: vendor/NetBSD/bmake/20130520/ - copied from r250835, vendor/NetBSD/bmake/dist/ ___

svn commit: r250837 - in head: contrib/bmake contrib/bmake/mk usr.bin/bmake

2013-05-20 Thread Simon J. Gerraty
(r250837) @@ -1,3 +1,17 @@ +2013-05-20 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130520 + generate manifest from component FILES rather than have to + update FILES when mk/FILES changes. + +2013-05-18 Simon J. Gerraty s...@bad.crufty.net

svn commit: r250867 - head

2013-05-21 Thread Simon J. Gerraty
Author: sjg Date: Tue May 21 18:38:09 2013 New Revision: 250867 URL: http://svnweb.freebsd.org/changeset/base/250867 Log: Mention the switch to bmake by default. Reviewed by: obrien Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-09-14 Thread Simon J. Gerraty
On Sat, 15 Sep 2012 00:36:31 +0200, Jilles Tjoelker writes: POSIX make command lines are executed as if by the shell, and if the make implementation wants to optimize by not executing sh for every command line, the burden is on it to make it behave the same. IIRC the man page mentions the

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-20 Thread Simon J. Gerraty
On Sat, 20 Oct 2012 21:13:36 +1100 (EST), Bruce Evans writes: Back to the old thread. Followup to the new commit thread. I seem to have missed a bit of the conversation, so sorry if some of this has been done to death already. First some background: I believe the reason for the original

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-20 Thread Simon J. Gerraty
Hi, sorry about the slow response. On Thu, 26 Jul 2012 12:49:03 +0400, Ruslan Ermilov writes: On Wed, Jul 18, 2012 at 05:57:43AM +, David E. O'Brien wrote: Author: obrien Date: Wed Jul 18 05:57:42 2012 New Revision: 238563 URL: http://svn.freebsd.org/changeset/base/238563 Log: a ;

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-20 Thread Simon J. Gerraty
On Mon, 30 Jul 2012 11:19:48 -0400, John Baldwin writes: @@ -68,7 +68,7 @@ beforeinstall: cd ${.CURDIR}; \ ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \ koi8-r.tmac hyphen.ru ${DESTDIR}${TMACDIR} -cd ${.OBJDIR} +cd ${.OBJDIR}; Isn't this a nop now?

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-21 Thread Simon J. Gerraty
note use of rather than ; which can be very dangerous In standard scripts I would agree. In FreeBSD pmake, I would disagree, but it seems that it's the odd man out: Yes, this is because FreeBSD make still uses the shell's -e for error detection. NetBSD (hence bmake) abandoned that quite a

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-21 Thread Simon J. Gerraty
On Wed, 22 Aug 2012 00:29:44 +0200, Jilles Tjoelker writes: On FreeBSD, the first two statements are partially false. All sh(1) builtins that correspond to utilities specified by POSIX (but not special builtins) have versions accessible to execve() (on 8.x and That's interesting, especially for

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-22 Thread Simon J. Gerraty
On Thu, 23 Aug 2012 00:30:02 +0200, Jilles Tjoelker writes: I think the most important reason is to reduce special cases. The POSIX developers did not want to create a second subset of utilities that are not available via execve() (the first subset is the special builtins). The burden on

svn commit: r246149 - in vendor/NetBSD/bmake/dist: . mk mk/sys unit-tests

2013-01-31 Thread Simon J. Gerraty
16:39:50 2013 (r246148) +++ vendor/NetBSD/bmake/dist/ChangeLog Thu Jan 31 16:44:23 2013 (r246149) @@ -1,3 +1,35 @@ +2013-01-27 Simon J. Gerraty s...@bad.crufty.net + + * Merge with NetBSD make, pick up + o make.1: more info on how shell commands are handled

svn commit: r246150 - vendor/NetBSD/bmake/20130123

2013-01-31 Thread Simon J. Gerraty
Author: sjg Date: Thu Jan 31 16:47:34 2013 New Revision: 246150 URL: http://svnweb.freebsd.org/changeset/base/246150 Log: Tag bmake-20130123 Approved by: marcel (mentor) Added: vendor/NetBSD/bmake/20130123/ - copied from r246149, vendor/NetBSD/bmake/dist/

svn commit: r246223 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2013-02-01 Thread Simon J. Gerraty
/bmake/ChangeLogFri Feb 1 20:17:11 2013 (r246222) +++ head/contrib/bmake/ChangeLogFri Feb 1 22:55:27 2013 (r246223) @@ -1,3 +1,35 @@ +2013-01-27 Simon J. Gerraty s...@bad.crufty.net + + * Merge with NetBSD make, pick up + o make.1: more info on how

svn commit: r246325 - in head/usr.bin/bmake: . unit-tests

2013-02-04 Thread Simon J. Gerraty
Author: sjg Date: Mon Feb 4 17:41:17 2013 New Revision: 246325 URL: http://svnweb.freebsd.org/changeset/base/246325 Log: Missed adding Makefile.config and unit-tests/Makefile should allow FreeBSD make to do 'obj'. Approved by: marcel (mentor) Added:

svn commit: r268437 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/mk/sys usr.bin/bmake

2014-07-08 Thread Simon J. Gerraty
/ChangeLog == --- head/contrib/bmake/ChangeLogTue Jul 8 22:04:44 2014 (r268436) +++ head/contrib/bmake/ChangeLogTue Jul 8 22:27:50 2014 (r268437) @@ -1,3 +1,28 @@ +2014-06-20 Simon J. Gerraty

svn commit: r268970 - head/share/mk

2014-07-21 Thread Simon J. Gerraty
Author: sjg Date: Tue Jul 22 00:42:55 2014 New Revision: 268970 URL: http://svnweb.freebsd.org/changeset/base/268970 Log: bsd.lib.mk does not add OBJS etc to CLEANFILES so does not automatically get them flagged as .NOPATH. This hurts people who don't use obj dirs. Since its clean target

svn commit: r269114 - in head: lib/csu/i386-elf share/mk sys/boot/mips/beri/boot2 sys/conf

2014-07-25 Thread Simon J. Gerraty
Author: sjg Date: Sat Jul 26 04:38:09 2014 New Revision: 269114 URL: http://svnweb.freebsd.org/changeset/base/269114 Log: Reviewed by: imp LDFLAGS is supposed to be given to CC not LD. Define _LDFLAGS as a filtered version of LDFLAGS safe to give to LD Modified:

svn commit: r269203 - head/share/mk

2014-07-28 Thread Simon J. Gerraty
Author: sjg Date: Mon Jul 28 23:36:21 2014 New Revision: 269203 URL: http://svnweb.freebsd.org/changeset/base/269203 Log: We do not ever want _srcconf_included_ as MAIN target. Modified: head/share/mk/src.sys.mk Modified: head/share/mk/src.sys.mk

svn commit: r266450 - head/share/mk

2014-05-19 Thread Simon J. Gerraty
Author: sjg Date: Mon May 19 19:08:46 2014 New Revision: 266450 URL: http://svnweb.freebsd.org/changeset/base/266450 Log: _SUBDIR is marked .MAKE - since it runs a sub-make. Targets thus marked are supposed to run even with -n. As such they should not do anything except run the sub-make.

svn commit: r266456 - head/share/mk

2014-05-19 Thread Simon J. Gerraty
Author: sjg Date: Mon May 19 21:55:47 2014 New Revision: 266456 URL: http://svnweb.freebsd.org/changeset/base/266456 Log: Revert previous change - doesn't cover all cases. Modified: head/share/mk/bsd.subdir.mk Modified: head/share/mk/bsd.subdir.mk

svn commit: r266473 - head/share/mk

2014-05-20 Thread Simon J. Gerraty
Author: sjg Date: Tue May 20 18:25:46 2014 New Revision: 266473 URL: http://svnweb.freebsd.org/changeset/base/266473 Log: Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without doing anything else (as intended).

svn commit: r252856 - head

2013-07-05 Thread Simon J. Gerraty
Author: sjg Date: Sat Jul 6 00:13:08 2013 New Revision: 252856 URL: http://svnweb.freebsd.org/changeset/base/252856 Log: Sprinkle some .MAKE magic Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == ---

Re: svn commit: r253002 - head

2013-07-08 Thread Simon J. Gerraty
We've run as high as -j48 ... number of logical cpu's times-two (it was o= n a box with 24 logical CPUs). We've (ok dhw@ has) done a lot of empirical measurement to determine optimal jobs_factor numbers for various machines. Right now we are using .75 for boxes with 16 cores. For smaller boxes

svn commit: r253616 - head

2013-07-24 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 24 17:55:08 2013 New Revision: 253616 URL: http://svnweb.freebsd.org/changeset/base/253616 Log: Fix bug in universe where if upgrade_checks wants a new make, it gets built 16 times in parallel in the same location. While we are at it, until we finish getting rid of

svn commit: r253879 - in vendor/NetBSD/bmake/dist: . mk unit-tests

2013-08-01 Thread Simon J. Gerraty
/dist/ChangeLog Fri Aug 2 03:46:45 2013 (r253878) +++ vendor/NetBSD/bmake/dist/ChangeLog Fri Aug 2 05:23:57 2013 (r253879) @@ -1,3 +1,36 @@ +2013-07-30 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130730 + Merge with NetBSD make, pick up

svn commit: r253880 - vendor/NetBSD/bmake/20130730

2013-08-01 Thread Simon J. Gerraty
Author: sjg Date: Fri Aug 2 05:25:11 2013 New Revision: 253880 URL: http://svnweb.freebsd.org/changeset/base/253880 Log: Tag bmake-20130730 Added: vendor/NetBSD/bmake/20130730/ - copied from r253879, vendor/NetBSD/bmake/dist/ ___

svn commit: r253883 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2013-08-02 Thread Simon J. Gerraty
== --- head/contrib/bmake/ChangeLogFri Aug 2 05:52:53 2013 (r253882) +++ head/contrib/bmake/ChangeLogFri Aug 2 06:25:28 2013 (r253883) @@ -1,3 +1,36 @@ +2013-07-30 Simon J. Gerraty s...@bad.crufty.net + + * Makefile

Re: svn commit: r253883 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2013-08-03 Thread Simon J. Gerraty
On Fri, 2 Aug 2013 22:46:36 -0700, Rui Paulo writes: Cool! Can we set this in /etc/make.conf ? I would expect so. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to

Re: svn commit: r253883 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2013-08-04 Thread Simon J. Gerraty
On Sat, 3 Aug 2013 22:11:46 -0700, Rui Paulo writes: On 2 Aug 2013, at 23:01, Simon J. Gerraty s...@juniper.net wrote: On Fri, 2 Aug 2013 22:46:36 -0700, Rui Paulo writes: Cool! Can we set this in /etc/make.conf ? I would expect so. Doesn't seem to make any effect... Ah, looks like

svn commit: r253925 - head/contrib/bmake

2013-08-04 Thread Simon J. Gerraty
Author: sjg Date: Sun Aug 4 07:10:16 2013 New Revision: 253925 URL: http://svnweb.freebsd.org/changeset/base/253925 Log: Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX Modified: head/contrib/bmake/job.c

Re: svn commit: r253887 - head/sys/dev/filemon

2013-08-04 Thread Simon J. Gerraty
Thank you for your comments. Can you review the attached patch? If there is no problem, I will commit this and MFC to stable branches. Looks good. But don't commit it untested ;-) I can test it for you. Perhaps it is best to commit this patch, but also add a warning to filemon(4) that it

Re: svn commit: r253887 - head/sys/dev/filemon

2013-08-05 Thread Simon J. Gerraty
On Mon, 5 Aug 2013 13:22:06 +0900, Hiroki Sato writes: Simon J. Gerraty s...@juniper.net wrote in 20130804151754.8189758...@chaos.jnpr.net: sj I can test it for you. Okay, I will wait for the results. Seems to work ok. Thanks --sjg ___ svn-src

svn commit: r254194 - in head: contrib/bmake usr.bin/bmake

2013-08-10 Thread Simon J. Gerraty
Author: sjg Date: Sat Aug 10 21:31:35 2013 New Revision: 254194 URL: http://svnweb.freebsd.org/changeset/base/254194 Log: ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't. Consume up to next newline, and issue a parse warning. If no newline found before P_end,

svn commit: r254340 - head/sys/conf

2013-08-14 Thread Simon J. Gerraty
Author: sjg Date: Wed Aug 14 22:19:29 2013 New Revision: 254340 URL: http://svnweb.freebsd.org/changeset/base/254340 Log: Some objects - such as *_genassym.o are not hooked into SRCS OBJS or anything else, yet have a dependency on symlinks such as machine/ Reviewed by: obrien

svn commit: r254417 - head

2013-08-16 Thread Simon J. Gerraty
Author: sjg Date: Fri Aug 16 16:26:23 2013 New Revision: 254417 URL: http://svnweb.freebsd.org/changeset/base/254417 Log: When we need to build using the in-tree make, switch at the earliest opportunity. In the case of fmake vs bmake, this helps ensure correct load handling. Reviewed

svn commit: r254419 - head/contrib/bmake

2013-08-16 Thread Simon J. Gerraty
Author: sjg Date: Fri Aug 16 18:47:18 2013 New Revision: 254419 URL: http://svnweb.freebsd.org/changeset/base/254419 Log: Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes) for backwards compatability. Modified: head/contrib/bmake/job.c head/contrib/bmake/make.1 Modified:

Re: svn commit: r254419 - head/contrib/bmake

2013-08-16 Thread Simon J. Gerraty
On Fri, 16 Aug 2013 11:56:24 -0700, Juli Mallett writes: Log: Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes) for backwards compatability. Thanks very much. Do you have some sense of when/if this might switch to a default of no? If so, it seems like it might be good to note that

svn commit: r254437 - head

2013-08-16 Thread Simon J. Gerraty
Author: sjg Date: Sat Aug 17 04:41:35 2013 New Revision: 254437 URL: http://svnweb.freebsd.org/changeset/base/254437 Log: Don't let user specified DESTDIR, break building our chosen make. Modified: head/Makefile Modified: head/Makefile

svn commit: r266760 - head/contrib/bmake

2014-05-27 Thread Simon J. Gerraty
Author: sjg Date: Tue May 27 18:39:13 2014 New Revision: 266760 URL: http://svnweb.freebsd.org/changeset/base/266760 Log: Portmgr no longer need the UL hack. Reviewed by: obrien Modified: head/contrib/bmake/var.c Modified: head/contrib/bmake/var.c

Re: svn commit: r266760 - head/contrib/bmake

2014-06-02 Thread Simon J. Gerraty
On Mon, 2 Jun 2014 19:58:31 -0500, Bryan Drewery writes: Not sure if anyone cares, but this change breaks all ports tree checkouts from before 2014-05-05 on src head with this revision. Yes, an older ports tree would need an older bmake (or fmake). Are we saying ports is *not* ready for that

svn commit: r268177 - in vendor/NetBSD/bmake/dist: . mk mk/sys

2014-07-02 Thread Simon J. Gerraty
== --- vendor/NetBSD/bmake/dist/ChangeLog Wed Jul 2 21:08:25 2014 (r268176) +++ vendor/NetBSD/bmake/dist/ChangeLog Wed Jul 2 21:24:54 2014 (r268177) @@ -1,3 +1,28 @@ +2014-06-20 Simon J. Gerraty s

svn commit: r268180 - vendor/NetBSD/bmake

2014-07-02 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 2 21:28:50 2014 New Revision: 268180 URL: http://svnweb.freebsd.org/changeset/base/268180 Log: Extract URL correctly Modified: vendor/NetBSD/bmake/do-update.sh Modified: vendor/NetBSD/bmake/do-update.sh

svn commit: r268179 - vendor/NetBSD/bmake/20140620

2014-07-02 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 2 21:28:23 2014 New Revision: 268179 URL: http://svnweb.freebsd.org/changeset/base/268179 Log: Tag bmake-20140620 Added: vendor/NetBSD/bmake/20140620/ - copied from r268178, vendor/NetBSD/bmake/dist/ ___

svn commit: r263212 - in stable/9: share/mk usr.bin usr.bin/bmake

2014-03-15 Thread Simon J. Gerraty
Author: sjg Date: Sat Mar 15 23:51:28 2014 New Revision: 263212 URL: http://svnweb.freebsd.org/changeset/base/263212 Log: Backport bmake to 9 so ports can rely on it being available. We only build/install it as bmake. Requested by: bapt Reviewed by: marcel Added: - copied from

svn commit: r261182 - in vendor/NetBSD/bmake/dist: . lst.lib mk

2014-01-25 Thread Simon J. Gerraty
(r261181) +++ vendor/NetBSD/bmake/dist/ChangeLog Sun Jan 26 07:40:17 2014 (r261182) @@ -1,3 +1,37 @@ +2014-01-03 Simon J. Gerraty s...@bad.crufty.net + + * boot-strap: ignore mksrc=none + +2014-01-02 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (DEFAULT_SYS_PATH

svn commit: r261183 - vendor/NetBSD/bmake/20140101

2014-01-25 Thread Simon J. Gerraty
Author: sjg Date: Sun Jan 26 07:40:56 2014 New Revision: 261183 URL: http://svnweb.freebsd.org/changeset/base/261183 Log: Tag 20140101 Added: vendor/NetBSD/bmake/20140101/ - copied from r261182, vendor/NetBSD/bmake/dist/ ___

svn commit: r261212 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk usr.bin/bmake

2014-01-27 Thread Simon J. Gerraty
Mon Jan 27 17:31:21 2014 (r261211) +++ head/contrib/bmake/ChangeLogMon Jan 27 17:47:21 2014 (r261212) @@ -1,3 +1,37 @@ +2014-01-03 Simon J. Gerraty s...@bad.crufty.net + + * boot-strap: ignore mksrc=none + +2014-01-02 Simon J. Gerraty s...@bad.crufty.net

svn commit: r262749 - head/usr.sbin/makefs

2014-03-04 Thread Simon J. Gerraty
Author: sjg Date: Tue Mar 4 20:09:23 2014 New Revision: 262749 URL: http://svnweb.freebsd.org/changeset/base/262749 Log: Allow comments at end of line. Reviewed by: marcel Modified: head/usr.sbin/makefs/mtree.c Modified: head/usr.sbin/makefs/mtree.c

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-02 Thread Simon J. Gerraty
On Fri, 1 Nov 2013 17:15:32 -0500, Brooks Davis writes: (In practice WITHOUT_BMAKE is broken and corrupts your object tree with a make that fails until manually deleted.) That's new? it worked last time I checked - which was around the time I made sure the make thus built was named for the

  1   2   3   4   5   >