Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bmake bmake: Update to 20200517
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cd4c1271232
branches: trunk
changeset: 432680:8cd4c1271232
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 24 11:09:43 2020 +0000
description:
bmake: Update to 20200517
2020-05-17 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200517
Merge with NetBSD make, pick up
o modified dollar tests to avoid shell dependencies
o new tests for .INCLUDEFROM
2020-05-16 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* unit-tests/dollar.mk: tweak '1 dollar literal' test
to not depend so much on shell behavior
2020-05-10 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200510
Merge with NetBSD make, pick up
o unit test for dollar handling
2020-05-06 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200506
Merge with NetBSD make, pick up
o str.c: empty string does not match % pattern
plus unit-test changes
2020-05-04 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200504
May the 4th be with you
Merge with NetBSD make, pick up
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o unit-tests: add test case for lazy conditions
2020-04-18 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200418
* configure.in: use_makefile=no for cygwin et al.
case insensitive filesystems just don't work if both
makefile and Makefile exist.
NOTE: bmake does not support cygwin and likely never will,
but if brave souls want to try it - help them out.
2020-04-02 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200402
Merge with NetBSD make, pick up
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
2020-03-30 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200330
Merge with NetBSD make, pick up
o make.h: extern debug_file
2020-03-18 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200318
Merge with NetBSD make, pick up
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
2020-02-20 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200220
2020-02-19 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* boot-strap: unset MAKEFLAGS
2020-02-12 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20200212
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
2020-02-05 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20200205
Merge with NetBSD make, pick up
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
2020-01-22 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20200122
Merge with NetBSD make, pick up
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
2020-01-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20200121
Merge with NetBSD make, pick up
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
2019-09-26 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20190926
Merge with NetBSD make, pick up
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
2019-04-09 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20190409
Merge with NetBSD make, pick up
o parse.c: ParseDoDependency: free paths rather than assert
2018-12-22 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20181222
* configure.in: add --without-makefile to avoid generating
makefile and make-bootstrap.sh
* include Makefile.inc if it exists
* Use Makefile and Makefile.config.in in unit-tests
so we can use just: make obj && make && make test
when bmake is already available.
We add --without-makefile to CONFIGURE_ARGS in this case.
* tweak bsd.after-import.mk (captures Makefile.config etc
after import to FreeBSD for example) to cope with all the above.
2018-12-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20181221
Merge with NetBSD make, pick up
o parse.c: ParseVErrorInternal use .PARSEDIR
and apply if relative, and then use .PARSEFILE
for consistent result.
2018-12-20 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20181220
Merge with NetBSD make, pick up
o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
is relative
o var.c: avoid SEGFAULT in .unexport-env
when MAKELEVEL is not set
2018-12-16 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* VERSION: 20181216
Merge with NetBSD make, pick up
o fix for unit-tests/varquote.mk on Debian
2018-09-21 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180919
Merge with NetBSD make, pick up
o var.c: add :q
o dir.c: cleanup caching of stats
2018-09-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
* Makefile.config.in: use += where it makes sense.
2018-05-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180512
Merge with NetBSD make, pick up
o job.c: skip polling job token pipe
2018-04-05 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180405
Merge with NetBSD make, pick up
o parse.c: be more cautious about detecting depenency line
rather than sysV style include.
2018-02-22 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180222
Merge with NetBSD make, pick up
o parse.c: avoid calling sysconf for every call to loadfile
2018-02-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180218
Merge with NetBSD make, pick up
o var.c: Var_Set handle NULL value anytime.
2018-02-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20180212
Merge with NetBSD make, pick up
o parse.c: do not treat .info as warning with -W
2017-12-07 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20171207
Merge with NetBSD make, pick up
o var.c: Var_Append use Var_Set if var not previously set
so that VAR_CMD is handled correctly.
Add a suitable unit-test.
2017-11-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION (_MAKE_VERSION): 20171126
* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
since AC_TRY_COMPILE puts input inside main()
which upsets modern compilers.
2017-11-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20171118
Merge with NetBSD make, pick up
o var.c: do not append to variable set on command line
add unit-test to catch this.
2017-10-28 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20171028
Merge with NetBSD make, pick up
o main.c: ignore empty MAKEOBJDIR
* Makefile.config.in:
make @prefix@ @machine*@ and @default_sys_path@ defaults.
2017-10-05 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION: 20171005
* unit-tests/dotwait.mk: redirect stderr through pipe for more
consistent result on some platforms.
2017-08-13 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* machine.sh: entry for AIX
2017-08-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
to a file that can be included by configure as well as make.
This allows configure to set set _MAKE_VERSION in make-bootstrap.sh
2017-08-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170810
Merge with NetBSD make, pick up
o meta.c: if target is in subdir we only need subdir name in
meta_name.
2017-07-20 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170720
Merge with NetBSD make, pick up
o compat.c: pass SIGINT etc onto child and wait for it to exit
before we self-terminate.
2017-07-11 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170711
forgot to update after merge on 20170708 ;-)
o main.c: refactor to reduce size of main function.
add -v option to always fully expand values.
o meta.c: ensure command output in meta file has ending newline
even when filemon not being used.
When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
pathname via ':L' since any ':' in pathname breaks that.
Instead set a '${.p.}' to pathname in the target context and
use that.
2017-05-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170510
Merge with NetBSD make, pick up
o main.c: Main_SetObjdir: ensure buf2 is in scope
2017-05-08 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170505
see mk/ChangeLog
2017-05-05 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* parse.c: not everyone has stdint.h
2017-05-01 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170501
see mk/ChangeLog
2017-04-21 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170421
Merge with NetBSD make, pick up
o str.c: Str_Match: fix closure tests for [^] and add unit-test.
2017-04-20 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170420
Merge with NetBSD make, pick up
o main.c: only use -C arg "as is" if it contains no
relative component.
2017-04-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170418
Merge with NetBSD make, pick up
o main.c: fix Main_SetObjdir() for relative paths (eg obj).
2017-04-17 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170417
Merge with NetBSD make, pick up
o fixes a number of coverity complaints
- check return value of fseek, fcntl
- plug memory leak in Dir_FindFile, Var_LoopExpand,
JobPrintCommand, ParseTraditionalInclude
- use bmake_malloc() where NULL is not tollerated
- use MAKE_ATTR_UNUSED rather that kludges like
return(unused ? 0 : 0)
- use purge_cached_realpaths() rather than abuse cached_realpath()
2017-04-13 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170413
Merge with NetBSD make, pick up
o main.c: when setting .OBJDIR ignore '$' in paths.
* job.c: use MALLOC_OPTIONS to set malloc_options.
2017-04-11 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170411
Merge with NetBSD make, pick up
o str.c: Str_Match: allow [^a-z] to behave as expected.
2017-03-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170326
Merge with NetBSD make, pick up
o main.c: purge relative paths from realpath cache when .OBJDIR
is changed.
2017-03-11 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170311
Merge with NetBSD make, pick up
o main.c: only use -C arg "as is" if it starts with '/'.
2017-03-01 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170301
Merge with NetBSD make, pick up
o main.c: use -C arg "as is" rather than getcwd()
if they identify the same directory.
o parse.c: ensure loadfile buffer is \n terminated in non-mmap case
2017-02-01 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170201
Merge with NetBSD make, pick up
o var.c: allow :_=var and avoid use of special context.
2017-01-30 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170130
Merge with NetBSD make, pick up
o var.c: add :range and :_
o main.c: partially initialize Dir_* before MainParseArgs()
can be called.
If -V, skip Main_ExportMAKEFLAGS()
2017-01-14 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20170114
Merge with NetBSD make, pick up
o var.c: allow specifying the utc value used by :{gm,local}time
2016-12-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20161212
Merge with NetBSD make, pick up
o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.
2016-12-09 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20161209
Merge with NetBSD make, pick up
o main.c: cleanup setting of .OBJDIR
o parse.c: avoid coredump from (var)=val
2016-11-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20161126
Merge with NetBSD make, pick up
o make.c: Make_OODate: report src node name if path not set
2016-09-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160926
Merge with NetBSD make, pick up
o support for .DELETE_ON_ERROR: (remove targets that fail)
2016-09-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile MAN: tweak .Dt to match ${PROG}
2016-08-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160818
its a neater number; pick up whitespace fixes to man page.
2016-08-17 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160817
Merge with NetBSD make, pick up
o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
so we can call it before adding entries to missingFiles.
Thus we do not track files we have been told to ignore.
2016-08-15 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160815
Merge with NetBSD make, pick up
o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
pathnames, and skip if the expansion is empty.
Useful for dirdeps.mk when checking DIRDEPS_CACHE.
2016-08-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160812
Merge with NetBSD make, pick up
o meta.c: remove all missingFiles entries that match a deleted
dir.
o main.c: set .ERROR_CMD if possible.
2016-06-06 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160606
Merge with NetBSD make, pick up
o dir.c: extend mtimes cache to others via cached_stat()
2016-06-04 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160604
Merge with NetBSD make, pick up
o meta.c: missing filemon data is only relevant if we read a
meta file.
Also do not return oodate for a missing metafile if gn->path
points to .CURDIR
2016-06-02 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160602
Merge with NetBSD make, pick up
o cached_realpath(): avoid hitting filesystem more than necessary.
o meta.c: refactor need_meta decision, add knobs for
missing meta file and filemon data wrt out-of-datedness.
2016-05-28 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160528
* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION
2016-05-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160512
Merge with NetBSD make, pick up
o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
this is useful for gcov builds.
o propagate errors from filemon(4).
2016-05-09 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160509
Merge with NetBSD make, pick up
o remove use of non-standard types u_int etc.
o meta.c: apply realpath() before matching against metaIgnorePaths
2016-04-04 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160404
Merge with NetBSD make, pick up
o allow makefile to set .MAKE.JOBS
* Makefile (PROG_NAME): use ${_MAKE_VERSION}
2016-03-15 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): 20160315
Merge with NetBSD make, pick up
o fix handling of archive members
2016-03-13 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (_MAKE_VERSION): rename variable to avoid interference
with checks for ${MAKE_VERSION}
2016-03-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20160310
Merge with NetBSD make, pick up
o meta.c: treat missing Read file same as Write, incase we Delete it.
2016-03-07 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20160307
Merge with NetBSD make, pick up
o var.c: fix :ts\nnn to be octal by default.
o meta.c: meta_finish() to cleanup memory.
2016-02-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20160226
Merge with NetBSD make, pick up
o meta.c: allow meta file for makeDepend if makefiles want it.
2016-02-19 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* var.c: default .MAKE.SAVE_DOLLARS to FALSE
for backwards compatability.
* Makefile (MAKE_VERSION): 20160220
Merge with NetBSD make, pick up
o var.c: add knob to control handling of '$$' in :=
2016-02-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20160218
Merge with NetBSD make, pick up
o var.c: add .export-literal allows us to fix sys.clean-env.mk
post the changes to Var_Subst.
Var_Subst now takes flags, and does not consume '$$' in :=
2016-02-17 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20160217
Merge with NetBSD make, pick up
o var.c: preserve '$$' in :=
o parse.c: add .dinclude for handling included
makefile like .depend
2015-12-20 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151220
Merge with NetBSD make, pick up
o suff.c: re-initialize suffNull when clearing suffixes.
2015-12-01 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151201
Merge with NetBSD make, pick up
o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
o meta.c: meta_oodate: use lstat(2) for checking link target
in case it is a symlink.
o var.c: avoid calling brk_string and Var_Export1 with empty
strings.
2015-11-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151126
Merge with NetBSD make, pick up
o parse.c: ParseTrackInput don't access beyond
end of old value.
2015-10-22 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151022
* Add support for BSD/OS which lacks inttypes.h
and really needs sys/param.h for sys/sysctl.h
also 'type' is not a shell builtin.
* var.c: eliminate uint32_t and need for inttypes.h
* main.c: PrintOnError flush stdout before run .ERROR
* parse.c: cope with _SC_PAGESIZE not being defined.
2015-10-20 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151020
Merge with NetBSD make, pick up
o var.c: fix uninitialized var
2015-10-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* var.c: the conditional expressions used with ':?' can be
expensive, if already discarding do not evaluate or expand
anything.
2015-10-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151010
Merge with NetBSD make, pick up
o Add Boolean wantit flag to Var_Subst and Var_Parse
when FALSE we know we are discarding the result and can
skip operations like Cmd_Exec.
2015-10-09 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20151009
Merge with NetBSD make, pick up
o var.c: don't check for NULL before free()
o meta.c: meta_oodate, do not hard code ignore of makeDependfile
2015-09-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20150910
Merge with NetBSD make, pick up
o main.c: with -w print Enter/Leaving messages for objdir too
if necessary.
o centralize shell metachar handling
* FILES: add metachar.[ch]
2015-06-06 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
* Makefile (MAKE_VERSION): 20150606
Merge with NetBSD make, pick up
o make.1: document .OBJDIR target
diffstat:
devel/bmake/Makefile | 4 +-
devel/bmake/files/ChangeLog | 630 +++++++++
devel/bmake/files/FILES | 20 +-
devel/bmake/files/Makefile | 39 +-
devel/bmake/files/Makefile.config.in | 22 +-
devel/bmake/files/PSD.doc/Makefile | 2 +-
devel/bmake/files/PSD.doc/tutorial.ms | 15 +-
devel/bmake/files/README | 53 +-
devel/bmake/files/aclocal.m4 | 13 +-
devel/bmake/files/arch.c | 83 +-
devel/bmake/files/bmake.1 | 241 +++-
devel/bmake/files/bmake.cat1 | 1468 ++++++++++++----------
devel/bmake/files/boot-strap | 19 +-
devel/bmake/files/bsd.after-import.mk | 5 +-
devel/bmake/files/buf.c | 6 +-
devel/bmake/files/buf.h | 8 +-
devel/bmake/files/compat.c | 136 +-
devel/bmake/files/cond.c | 46 +-
devel/bmake/files/config.h.in | 23 +-
devel/bmake/files/configure | 1223 +++++++++++-------
devel/bmake/files/configure.in | 80 +-
devel/bmake/files/dir.c | 194 +-
devel/bmake/files/dir.h | 8 +-
devel/bmake/files/dirname.c | 95 +-
devel/bmake/files/filemon/filemon.h | 2 +-
devel/bmake/files/filemon/filemon_dev.c | 2 +-
devel/bmake/files/filemon/filemon_ktrace.c | 2 +-
devel/bmake/files/for.c | 10 +-
devel/bmake/files/getopt.c | 89 +-
devel/bmake/files/hash.c | 6 +-
devel/bmake/files/hash.h | 19 +-
devel/bmake/files/install-sh | 2 +-
devel/bmake/files/job.c | 190 ++-
devel/bmake/files/job.h | 2 +-
devel/bmake/files/lst.h | 2 +-
devel/bmake/files/lst.lib/lstAppend.c | 6 +-
devel/bmake/files/lst.lib/lstAtEnd.c | 6 +-
devel/bmake/files/lst.lib/lstAtFront.c | 6 +-
devel/bmake/files/lst.lib/lstClose.c | 6 +-
devel/bmake/files/lst.lib/lstConcat.c | 6 +-
devel/bmake/files/lst.lib/lstDatum.c | 6 +-
devel/bmake/files/lst.lib/lstDeQueue.c | 6 +-
devel/bmake/files/lst.lib/lstDestroy.c | 6 +-
devel/bmake/files/lst.lib/lstDupl.c | 6 +-
devel/bmake/files/lst.lib/lstEnQueue.c | 6 +-
devel/bmake/files/lst.lib/lstFind.c | 6 +-
devel/bmake/files/lst.lib/lstFindFrom.c | 6 +-
devel/bmake/files/lst.lib/lstFirst.c | 6 +-
devel/bmake/files/lst.lib/lstForEach.c | 6 +-
devel/bmake/files/lst.lib/lstForEachFrom.c | 6 +-
devel/bmake/files/lst.lib/lstInit.c | 6 +-
devel/bmake/files/lst.lib/lstInsert.c | 6 +-
devel/bmake/files/lst.lib/lstInt.h | 2 +-
devel/bmake/files/lst.lib/lstIsAtEnd.c | 6 +-
devel/bmake/files/lst.lib/lstIsEmpty.c | 6 +-
devel/bmake/files/lst.lib/lstLast.c | 6 +-
devel/bmake/files/lst.lib/lstMember.c | 6 +-
devel/bmake/files/lst.lib/lstNext.c | 6 +-
devel/bmake/files/lst.lib/lstOpen.c | 6 +-
devel/bmake/files/lst.lib/lstPrev.c | 6 +-
devel/bmake/files/lst.lib/lstRemove.c | 6 +-
devel/bmake/files/lst.lib/lstReplace.c | 6 +-
devel/bmake/files/lst.lib/lstSucc.c | 6 +-
devel/bmake/files/machine.sh | 8 +-
devel/bmake/files/main.c | 514 +++++--
devel/bmake/files/make-bootstrap.sh.in | 35 +-
devel/bmake/files/make-conf.h | 2 +-
devel/bmake/files/make.c | 28 +-
devel/bmake/files/make.h | 38 +-
devel/bmake/files/make_malloc.c | 8 +-
devel/bmake/files/make_malloc.h | 2 +-
devel/bmake/files/makefile.in | 2 +-
devel/bmake/files/meta.c | 701 +++++++---
devel/bmake/files/meta.h | 14 +-
devel/bmake/files/metachar.c | 4 +-
devel/bmake/files/metachar.h | 2 +-
devel/bmake/files/missing/sys/cdefs.h | 2 +-
devel/bmake/files/mk/README | 4 +-
devel/bmake/files/mk/auto.dep.mk | 2 +-
devel/bmake/files/mk/auto.obj.mk | 2 +-
devel/bmake/files/mk/autoconf.mk | 2 +-
devel/bmake/files/mk/autodep.mk | 2 +-
devel/bmake/files/mk/compiler.mk | 2 +-
devel/bmake/files/mk/cython.mk | 2 +-
devel/bmake/files/mk/dep.mk | 2 +-
devel/bmake/files/mk/dirdeps-options.mk | 2 +-
devel/bmake/files/mk/dirdeps-targets.mk | 2 +-
devel/bmake/files/mk/dirdeps.mk | 2 +-
devel/bmake/files/mk/doc.mk | 2 +-
devel/bmake/files/mk/dpadd.mk | 2 +-
devel/bmake/files/mk/files.mk | 2 +-
devel/bmake/files/mk/final.mk | 2 +-
devel/bmake/files/mk/gendirdeps.mk | 2 +-
devel/bmake/files/mk/host-target.mk | 2 +-
devel/bmake/files/mk/host.libnames.mk | 2 +-
devel/bmake/files/mk/inc.mk | 2 +-
devel/bmake/files/mk/init.mk | 2 +-
devel/bmake/files/mk/install-mk | 2 +-
devel/bmake/files/mk/install-new.mk | 2 +-
devel/bmake/files/mk/java.mk | 2 +-
devel/bmake/files/mk/ldorder.mk | 2 +-
devel/bmake/files/mk/lib.mk | 2 +-
devel/bmake/files/mk/libnames.mk | 2 +-
devel/bmake/files/mk/libs.mk | 2 +-
devel/bmake/files/mk/links.mk | 2 +-
devel/bmake/files/mk/man.mk | 2 +-
devel/bmake/files/mk/manifest.mk | 2 +-
devel/bmake/files/mk/meta.autodep.mk | 2 +-
devel/bmake/files/mk/meta.stage.mk | 2 +-
devel/bmake/files/mk/meta.subdir.mk | 2 +-
devel/bmake/files/mk/meta.sys.mk | 2 +-
devel/bmake/files/mk/meta2deps.py | 2 +-
devel/bmake/files/mk/meta2deps.sh | 2 +-
devel/bmake/files/mk/mk-files.txt | 2 +-
devel/bmake/files/mk/mkopt.sh | 2 +-
devel/bmake/files/mk/nls.mk | 2 +-
devel/bmake/files/mk/obj.mk | 2 +-
devel/bmake/files/mk/options.mk | 2 +-
devel/bmake/files/mk/own.mk | 2 +-
devel/bmake/files/mk/prlist.mk | 2 +-
devel/bmake/files/mk/prog.mk | 2 +-
devel/bmake/files/mk/progs.mk | 2 +-
devel/bmake/files/mk/rst2htm.mk | 2 +-
devel/bmake/files/mk/scripts.mk | 2 +-
devel/bmake/files/mk/srctop.mk | 2 +-
devel/bmake/files/mk/stage-install.sh | 2 +-
devel/bmake/files/mk/subdir.mk | 4 +-
devel/bmake/files/mk/sys.clean-env.mk | 2 +-
devel/bmake/files/mk/sys.debug.mk | 2 +-
devel/bmake/files/mk/sys.dependfile.mk | 2 +-
devel/bmake/files/mk/sys.mk | 2 +-
devel/bmake/files/mk/sys.vars.mk | 2 +-
devel/bmake/files/mk/sys/AIX.mk | 2 +-
devel/bmake/files/mk/sys/Darwin.mk | 2 +-
devel/bmake/files/mk/sys/Generic.mk | 2 +-
devel/bmake/files/mk/sys/HP-UX.mk | 4 +-
devel/bmake/files/mk/sys/IRIX.mk | 2 +-
devel/bmake/files/mk/sys/Linux.mk | 4 +-
devel/bmake/files/mk/sys/NetBSD.mk | 2 +-
devel/bmake/files/mk/sys/OSF1.mk | 4 +-
devel/bmake/files/mk/sys/OpenBSD.mk | 2 +-
devel/bmake/files/mk/sys/SunOS.mk | 2 +-
devel/bmake/files/mk/sys/UnixWare.mk | 4 +-
devel/bmake/files/mk/target-flags.mk | 2 +-
devel/bmake/files/mk/warnings.mk | 2 +-
devel/bmake/files/mk/whats.mk | 2 +-
devel/bmake/files/mk/yacc.mk | 2 +-
devel/bmake/files/mkdeps.sh | 2 +-
devel/bmake/files/nonints.h | 18 +-
devel/bmake/files/os.sh | 75 +-
devel/bmake/files/parse.c | 218 ++-
devel/bmake/files/pathnames.h | 4 +-
devel/bmake/files/ranlib.h | 2 +-
devel/bmake/files/realpath.c | 4 +-
devel/bmake/files/setenv.c | 2 +-
devel/bmake/files/sigcompat.c | 2 +-
devel/bmake/files/sprite.h | 8 +-
devel/bmake/files/str.c | 160 +-
devel/bmake/files/stresep.c | 14 +-
devel/bmake/files/strlcpy.c | 2 +-
devel/bmake/files/strlist.c | 6 +-
devel/bmake/files/strlist.h | 2 +-
devel/bmake/files/suff.c | 116 +-
devel/bmake/files/targ.c | 16 +-
devel/bmake/files/trace.c | 6 +-
devel/bmake/files/trace.h | 2 +-
devel/bmake/files/unit-tests/Makefile | 4 +-
devel/bmake/files/unit-tests/Makefile.config.in | 2 +-
devel/bmake/files/unit-tests/cond-late.mk | 2 +-
devel/bmake/files/unit-tests/cond1.mk | 2 +-
devel/bmake/files/unit-tests/cond2.mk | 6 +-
devel/bmake/files/unit-tests/dollar.mk | 2 +-
devel/bmake/files/unit-tests/doterror.mk | 2 +-
devel/bmake/files/unit-tests/dotwait.mk | 4 +-
devel/bmake/files/unit-tests/error.mk | 2 +-
devel/bmake/files/unit-tests/escape.mk | 6 +-
devel/bmake/files/unit-tests/export-all.mk | 2 +-
devel/bmake/files/unit-tests/export-env.mk | 9 +-
devel/bmake/files/unit-tests/export.mk | 2 +-
devel/bmake/files/unit-tests/forloop.mk | 12 +-
devel/bmake/files/unit-tests/forsubst.mk | 2 +-
devel/bmake/files/unit-tests/impsrc.mk | 2 +-
devel/bmake/files/unit-tests/include-main.mk | 2 +-
devel/bmake/files/unit-tests/include-sub.mk | 2 +-
devel/bmake/files/unit-tests/include-subsub.mk | 2 +-
devel/bmake/files/unit-tests/misc.mk | 2 +-
devel/bmake/files/unit-tests/moderrs.mk | 2 +-
devel/bmake/files/unit-tests/modmisc.mk | 2 +-
devel/bmake/files/unit-tests/modorder.mk | 7 +-
devel/bmake/files/unit-tests/modword.mk | 2 +-
devel/bmake/files/unit-tests/order.mk | 2 +-
devel/bmake/files/unit-tests/phony-end.mk | 2 +-
devel/bmake/files/unit-tests/posix.mk | 2 +-
devel/bmake/files/unit-tests/posix1.mk | 2 +-
devel/bmake/files/unit-tests/qequals.mk | 2 +-
devel/bmake/files/unit-tests/suffixes.mk | 2 +-
devel/bmake/files/unit-tests/sysv.mk | 21 +-
devel/bmake/files/unit-tests/unexport-env.mk | 2 +-
devel/bmake/files/unit-tests/unexport.mk | 2 +-
devel/bmake/files/unit-tests/varcmd.mk | 15 +-
devel/bmake/files/unit-tests/varmisc.mk | 58 +-
devel/bmake/files/unit-tests/varmod-edge.mk | 2 +-
devel/bmake/files/unit-tests/varquote.mk | 2 +-
devel/bmake/files/unit-tests/varshell.mk | 2 +-
devel/bmake/files/util.c | 38 +-
devel/bmake/files/var.c | 612 ++++++---
devel/bmake/files/wait.h | 2 +-
207 files changed, 5176 insertions(+), 2768 deletions(-)
diffs (truncated from 16599 to 300 lines):
diff -r bd07315b204f -r 8cd4c1271232 devel/bmake/Makefile
--- a/devel/bmake/Makefile Sun May 24 09:35:12 2020 +0000
+++ b/devel/bmake/Makefile Sun May 24 11:09:43 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2016/02/25 12:12:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.74 2020/05/24 11:09:43 nia Exp $
-DISTNAME= bmake-20150505
+DISTNAME= bmake-20200517
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
diff -r bd07315b204f -r 8cd4c1271232 devel/bmake/files/ChangeLog
--- a/devel/bmake/files/ChangeLog Sun May 24 09:35:12 2020 +0000
+++ b/devel/bmake/files/ChangeLog Sun May 24 11:09:43 2020 +0000
@@ -1,3 +1,633 @@
+2020-05-17 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200517
+ Merge with NetBSD make, pick up
+ o modified dollar tests to avoid shell dependencies
+ o new tests for .INCLUDEFROM
+
+2020-05-16 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * unit-tests/dollar.mk: tweak '1 dollar literal' test
+ to not depend so much on shell behavior
+
+2020-05-10 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200510
+ Merge with NetBSD make, pick up
+ o unit test for dollar handling
+
+2020-05-06 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200506
+ Merge with NetBSD make, pick up
+ o str.c: empty string does not match % pattern
+ plus unit-test changes
+
+2020-05-04 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200504
+ May the 4th be with you
+ Merge with NetBSD make, pick up
+ o var.c: import handling of old sysV style modifier using '%'
+ o str.c: refactor brk_string
+ o unit-tests: add test case for lazy conditions
+
+2020-04-18 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200418
+
+ * configure.in: use_makefile=no for cygwin et al.
+ case insensitive filesystems just don't work if both
+ makefile and Makefile exist.
+ NOTE: bmake does not support cygwin and likely never will,
+ but if brave souls want to try it - help them out.
+
+2020-04-02 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200402
+ Merge with NetBSD make, pick up
+ o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
+ a blank command is perfectly valid.
+
+2020-03-30 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200330
+ Merge with NetBSD make, pick up
+ o make.h: extern debug_file
+
+2020-03-18 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200318
+ Merge with NetBSD make, pick up
+ o meta.c: meta_oodate, check for corrupted meta file
+ earlier and more often.
+
+2020-02-20 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200220
+
+2020-02-19 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * boot-strap: unset MAKEFLAGS
+
+2020-02-12 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20200212
+ * meta.c: meta_compat_parent check for USE_FILEMON
+ patch from Soeren Tempel
+
+2020-02-05 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20200205
+ Merge with NetBSD make, pick up
+ o meta.c: fix compat mode, need to call meta_job_output()
+ o job.c: extra fds for meta mode not needed if using filemon_dev
+
+2020-01-22 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20200122
+ Merge with NetBSD make, pick up
+ o meta.c: avoid passing NULL to filemon_*() when meta_needed()
+ returns FALSE.
+
+2020-01-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20200121
+ Merge with NetBSD make, pick up
+ o filemon/filemon_{dev,ktrace}.c: allow selection of
+ filemon implementation. filemon_dev.c uses the kernel module
+ while filemon_ktrace.c leverages the fktrace api available in
+ NetBSD. filemon_ktrace.c can hopefully form the basis for
+ adding support for other tracing mechanisms such as strace on
+ Linux.
+ o meta.c: when target is out-of-date per normal make rules
+ record value of .OODATE in meta file.
+
+2019-09-26 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20190926
+ Merge with NetBSD make, pick up
+ o parse.c: don't pass NULL to realpath(3)
+ some versions cannot handle it.
+
+2019-04-09 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20190409
+ Merge with NetBSD make, pick up
+ o parse.c: ParseDoDependency: free paths rather than assert
+
+2018-12-22 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20181222
+
+ * configure.in: add --without-makefile to avoid generating
+ makefile and make-bootstrap.sh
+
+ * include Makefile.inc if it exists
+
+ * Use Makefile and Makefile.config.in in unit-tests
+ so we can use just: make obj && make && make test
+ when bmake is already available.
+ We add --without-makefile to CONFIGURE_ARGS in this case.
+
+ * tweak bsd.after-import.mk (captures Makefile.config etc
+ after import to FreeBSD for example) to cope with all the above.
+
+2018-12-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20181221
+ Merge with NetBSD make, pick up
+ o parse.c: ParseVErrorInternal use .PARSEDIR
+ and apply if relative, and then use .PARSEFILE
+ for consistent result.
+
+2018-12-20 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20181220
+ Merge with NetBSD make, pick up
+ o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
+ is relative
+ o var.c: avoid SEGFAULT in .unexport-env
+ when MAKELEVEL is not set
+
+2018-12-16 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * VERSION: 20181216
+ Merge with NetBSD make, pick up
+ o fix for unit-tests/varquote.mk on Debian
+
+2018-09-21 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180919
+ Merge with NetBSD make, pick up
+ o var.c: add :q
+ o dir.c: cleanup caching of stats
+
+2018-09-21 Simon J Gerraty <sjg%beast.crufty.net@localhost>
+
+ * Makefile.config.in: use += where it makes sense.
+
+2018-05-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180512
+ Merge with NetBSD make, pick up
+ o job.c: skip polling job token pipe
+
+2018-04-05 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180405
+ Merge with NetBSD make, pick up
+ o parse.c: be more cautious about detecting depenency line
+ rather than sysV style include.
+
+2018-02-22 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180222
+ Merge with NetBSD make, pick up
+ o parse.c: avoid calling sysconf for every call to loadfile
+
+2018-02-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180218
+ Merge with NetBSD make, pick up
+ o var.c: Var_Set handle NULL value anytime.
+
+2018-02-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20180212
+ Merge with NetBSD make, pick up
+ o parse.c: do not treat .info as warning with -W
+
+2017-12-07 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20171207
+ Merge with NetBSD make, pick up
+ o var.c: Var_Append use Var_Set if var not previously set
+ so that VAR_CMD is handled correctly.
+ Add a suitable unit-test.
+
+2017-11-26 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): 20171126
+
+ * aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
+ since AC_TRY_COMPILE puts input inside main()
+ which upsets modern compilers.
+
+2017-11-18 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20171118
+ Merge with NetBSD make, pick up
+ o var.c: do not append to variable set on command line
+ add unit-test to catch this.
+
+2017-10-28 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20171028
+ Merge with NetBSD make, pick up
+ o main.c: ignore empty MAKEOBJDIR
+
+ * Makefile.config.in:
+ make @prefix@ @machine*@ and @default_sys_path@ defaults.
+
+2017-10-05 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION: 20171005
+
+ * unit-tests/dotwait.mk: redirect stderr through pipe for more
+ consistent result on some platforms.
+
+2017-08-13 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * machine.sh: entry for AIX
+
+2017-08-12 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
+ to a file that can be included by configure as well as make.
+ This allows configure to set set _MAKE_VERSION in make-bootstrap.sh
+
+2017-08-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * Makefile (_MAKE_VERSION): 20170810
+ Merge with NetBSD make, pick up
+ o meta.c: if target is in subdir we only need subdir name in
+ meta_name.
+
+2017-07-20 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * Makefile (_MAKE_VERSION): 20170720
+ Merge with NetBSD make, pick up
+ o compat.c: pass SIGINT etc onto child and wait for it to exit
+ before we self-terminate.
+
+2017-07-11 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * Makefile (_MAKE_VERSION): 20170711
+ forgot to update after merge on 20170708 ;-)
+ o main.c: refactor to reduce size of main function.
+ add -v option to always fully expand values.
+ o meta.c: ensure command output in meta file has ending newline
+ even when filemon not being used.
+ When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
+ pathname via ':L' since any ':' in pathname breaks that.
+ Instead set a '${.p.}' to pathname in the target context and
+ use that.
+
+2017-05-10 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
+ * Makefile (_MAKE_VERSION): 20170510
+ Merge with NetBSD make, pick up
+ o main.c: Main_SetObjdir: ensure buf2 is in scope
+
+2017-05-08 Simon J. Gerraty <sjg%bad.crufty.net@localhost>
+
Home |
Main Index |
Thread Index |
Old Index