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

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

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: 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

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

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

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: 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: 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

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-head@freebsd.org mailing list

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

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: 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

Re: svn commit: r267758 - head

2014-06-24 Thread Simon J. Gerraty
On Tue, 24 Jun 2014 15:25:45 -0700, Warner Losh writes: Change suggestion how to set MAKESYSPATH as broken incremental = build workaround. Magic .../share/mk (search directories up to /) If syspath is going to include .../ it isn't a bad idea for sys.mk to resolve it. Something like: .if

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

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

2013-07-05 Thread Simon J. Gerraty
On Fri, 5 Jul 2013 18:06:37 +0200, Tijl Coosemans writes: I've been noticing that bmake doesn't run parallel jobs as like fmake. No it doesn't. fmake exports the name of a FIFO, which any submake can open. bmake passes open descriptors to a pipe, but only if the target is flagged .MAKE.

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: 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-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head 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

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: r254980 - head/share/mk

2013-08-27 Thread Simon J. Gerraty
Author: sjg Date: Tue Aug 27 23:09:34 2013 New Revision: 254980 URL: http://svnweb.freebsd.org/changeset/base/254980 Log: Use .SHELL to tell bmake to use 'set -e' when running scripts since most FreeBSD makefiles it is in effect. Move the other bmake compatability knobs out of the POSIX

svn commit: r255127 - head/contrib/bmake

2013-09-01 Thread Simon J. Gerraty
Author: sjg Date: Sun Sep 1 18:59:09 2013 New Revision: 255127 URL: http://svnweb.freebsd.org/changeset/base/255127 Log: Pay attention to errCheck! PR: 181715 Modified: head/contrib/bmake/compat.c Modified: head/contrib/bmake/compat.c

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

2013-09-05 Thread Simon J. Gerraty
:50:34 2013 (r255252) +++ head/contrib/bmake/ChangeLogThu Sep 5 15:57:26 2013 (r255253) @@ -1,3 +1,24 @@ +2013-09-04 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20130904 + Merge with NetBSD make, pick up + o Add VAR_INTERNAL

svn commit: r255285 - head/contrib/bmake

2013-09-05 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 6 02:55:51 2013 New Revision: 255285 URL: http://svnweb.freebsd.org/changeset/base/255285 Log: If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token (E) into the job queue. This avoids closing down an entire build on failure of one branch. Probably

svn commit: r255286 - head

2013-09-05 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 6 02:57:15 2013 New Revision: 255286 URL: http://svnweb.freebsd.org/changeset/base/255286 Log: During universe/tinderbox export MAKE_JOB_ERROR_TOKEN=no This avoids aborting everything when one kernel fails. Reviewed by: obrien Modified: head/Makefile

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

2013-09-10 Thread Simon J. Gerraty
Author: sjg Date: Tue Sep 10 23:31:38 2013 New Revision: 255463 URL: http://svnweb.freebsd.org/changeset/base/255463 Log: Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk) Reviewed by: obrien Approved by: re Modified: head/usr.bin/bmake/Makefile Modified:

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

2013-09-24 Thread Simon J. Gerraty
On Tue, 24 Sep 2013 20:41:19 +0400, Sergey Kandaurov writes: +.Fx 9 This results in mdoc warning. :mdoc warning: .Fx: Unknown FreeBSD version `9' (#733) On what release? Surely 9 and later know about 9? ___ svn-src-head@freebsd.org mailing list

svn commit: r255916 - head/contrib/bmake

2013-09-27 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 27 17:42:23 2013 New Revision: 255916 URL: http://svnweb.freebsd.org/changeset/base/255916 Log: Fix Fx syntax. PR: 182269 Approved by: re@ Modified: head/contrib/bmake/make.1 Modified: head/contrib/bmake/make.1

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

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
told me what was wrong. The issue is that the :U modifer I used is a bmake feature and that the toolchain target doesn't bootstrap bmake (or perhaps doesn't do it early enough). I plan to commit a workaround for Hmmm toolchain is in the same TGTS list as buildworld, so should depend on

svn commit: r257773 - head/contrib/telnet/telnetd

2013-11-06 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 7 00:36:39 2013 New Revision: 257773 URL: http://svnweb.freebsd.org/changeset/base/257773 Log: Propagate ancient fix from Junos. Use of -h is not supposed to depend on AUTHENTICATION being defined. Reviewed by: markm Modified:

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: 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: 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: 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: 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: 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: r258095 - head/share/mk

2013-11-13 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 13 15:10:32 2013 New Revision: 258095 URL: http://svnweb.freebsd.org/changeset/base/258095 Log: Allow this to work with fmake Based on patch from Garret Cooper. Modified: head/share/mk/bsd.progs.mk Modified: head/share/mk/bsd.progs.mk

svn commit: r258113 - head/contrib/bmake/lst.lib

2013-11-13 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 14 00:06:44 2013 New Revision: 258113 URL: http://svnweb.freebsd.org/changeset/base/258113 Log: Avoid SEGV when passed NULL for list Modified: head/contrib/bmake/lst.lib/lstMember.c Modified: head/contrib/bmake/lst.lib/lstMember.c

svn commit: r258114 - head/contrib/bmake

2013-11-13 Thread Simon J. Gerraty
Author: sjg Date: Thu Nov 14 00:29:48 2013 New Revision: 258114 URL: http://svnweb.freebsd.org/changeset/base/258114 Log: Don't SEGV when Hash_Table is uninitialized Modified: head/contrib/bmake/hash.c Modified: head/contrib/bmake/hash.c

Re: svn commit: r258285 - in head/lib/atf: libatf-c++/tests libatf-c/tests tests/test-programs

2013-11-18 Thread Simon J. Gerraty
On Sun, 17 Nov 2013 23:12:55 +, Julio Merino writes: I am not sure how this ever worked before given that manual inspection of bsd.progs.mk clearly shows that the expected character between the two components is a dot and not an underscore... but I suspect the Actually . or _ worked,

svn commit: r258330 - head/share/mk

2013-11-18 Thread Simon J. Gerraty
Author: sjg Date: Tue Nov 19 00:34:59 2013 New Revision: 258330 URL: http://svnweb.freebsd.org/changeset/base/258330 Log: Need to also test for defined(${v}_${PROG}) Modified: head/share/mk/bsd.progs.mk Modified: head/share/mk/bsd.progs.mk

Re: svn commit: r258285 - in head/lib/atf: libatf-c++/tests libatf-c/tests tests/test-programs

2013-11-21 Thread Simon J. Gerraty
On Thu, 21 Nov 2013 18:29:15 -0500, Julio Merino writes: Actually . or _ worked, until recently. I think only supporting one form is better in the name of simplicity. Generally I would agree. Originally I used '_' for this and a number of other things, but in many cases find that '.' makes for

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: r275650 - head/usr.sbin/mtree

2014-12-09 Thread Simon J. Gerraty
Author: sjg Date: Tue Dec 9 19:50:50 2014 New Revision: 275650 URL: https://svnweb.freebsd.org/changeset/base/275650 Log: -u and -U are supposed to affect existing files too. Reviewed by: marcel Modified: head/usr.sbin/mtree/verify.c Modified: head/usr.sbin/mtree/verify.c

svn commit: r278729 - head/sys/sys

2015-02-13 Thread Simon J. Gerraty
Author: sjg Date: Fri Feb 13 23:19:35 2015 New Revision: 278729 URL: https://svnweb.freebsd.org/changeset/base/278729 Log: sbspace: size of bleft, mleft must match sockbuf fields to avoid overflow on amd64 Submitted by: anshu...@juniper.net Obtained from:Juniper Networks

Re: svn commit: r278729 - head/sys/sys

2015-03-11 Thread Simon J. Gerraty
hiren panchasara hi...@strugglingcoder.info wrote: Talking to sjg on -arch to MFC this. If he cannot get around doing that, I'll do it tomorrow. I can do it - assuming no one objects. ___ svn-src-head@freebsd.org mailing list

svn commit: r279945 - head/contrib/bmake

2015-03-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Mar 13 02:54:46 2015 New Revision: 279945 URL: https://svnweb.freebsd.org/changeset/base/279945 Log: Make sure that -- filemon is at start of a line, so that it is found as expected. Modified: head/contrib/bmake/meta.c Modified: head/contrib/bmake/meta.c

svn commit: r279247 - head/share/mk

2015-02-24 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 24 19:03:31 2015 New Revision: 279247 URL: https://svnweb.freebsd.org/changeset/base/279247 Log: If sys.mk were found via the magic path .../share/mk replace it with the absolute path of .PARSEDIR, so that sub-makes launched from objdirs (eg kernel) can still find

svn commit: r281812 - in head: contrib/bmake contrib/bmake/PSD.doc contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2015-04-20 Thread Simon J. Gerraty
== --- head/contrib/bmake/ChangeLogTue Apr 21 03:29:03 2015 (r281811) +++ head/contrib/bmake/ChangeLogTue Apr 21 04:40:38 2015 (r281812) @@ -1,8 +1,76 @@ +2015-04-18 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20150418 + Merge

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

2015-05-10 Thread Simon J. Gerraty
10 22:03:59 2015 (r282740) @@ -1,3 +1,16 @@ +2015-05-05 Simon J. Gerraty s...@bad.crufty.net + + * Makefile (MAKE_VERSION): 20150505 + Merge with NetBSD make, pick up + o cond.c: be strict about lhs of comparison when evaluating .if + but less so when

svn commit: r281699 - head/usr.sbin/mountd

2015-04-18 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 18 19:52:39 2015 New Revision: 281699 URL: https://svnweb.freebsd.org/changeset/base/281699 Log: No need to delete export from filesystems which are not exported. Modified: head/usr.sbin/mountd/mountd.c Modified: head/usr.sbin/mountd/mountd.c

svn commit: r284699 - head

2015-06-22 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 22 16:13:17 2015 New Revision: 284699 URL: https://svnweb.freebsd.org/changeset/base/284699 Log: targets now needs .PHONY Modified: head/Makefile Modified: head/Makefile == ---

svn commit: r284708 - in head: share/man/man5 share/mk tools/build/options

2015-06-22 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 22 20:21:57 2015 New Revision: 284708 URL: https://svnweb.freebsd.org/changeset/base/284708 Log: Fix generation of src.conf.5 Since makeman turns all options on, we need to guard somethings from make(showconfig) Added: head/tools/build/options/WITH_AUTO_OBJ

svn commit: r284738 - head

2015-06-23 Thread Simon J. Gerraty
Author: sjg Date: Tue Jun 23 20:01:12 2015 New Revision: 284738 URL: https://svnweb.freebsd.org/changeset/base/284738 Log: Remove entry about make.conf - no longer relevant Modified: head/UPDATING Modified: head/UPDATING

  1   2   3   4   >