Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/BMAKE]: pkgsrc/devel/bmake/files Import bmake-



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c085442580b
branches:  BMAKE
changeset: 432667:3c085442580b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 24 05:35:51 2020 +0000

description:
Import bmake-

diffstat:

 devel/bmake/files/ChangeLog                     |   630 +++++++++
 devel/bmake/files/FILES                         |    21 +-
 devel/bmake/files/Makefile                      |    44 +-
 devel/bmake/files/Makefile.config.in            |    22 +-
 devel/bmake/files/PSD.doc/tutorial.ms           |    15 +-
 devel/bmake/files/README                        |    53 +-
 devel/bmake/files/VERSION                       |     2 +
 devel/bmake/files/aclocal.m4                    |    13 +-
 devel/bmake/files/arch.c                        |    83 +-
 devel/bmake/files/bmake.1                       |   212 ++-
 devel/bmake/files/bmake.cat1                    |  1186 +++++++++--------
 devel/bmake/files/boot-strap                    |    19 +-
 devel/bmake/files/bsd.after-import.mk           |     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                     |  1226 +++++++++++-------
 devel/bmake/files/configure.in                  |    84 +-
 devel/bmake/files/dir.c                         |   194 +-
 devel/bmake/files/dir.h                         |     8 +-
 devel/bmake/files/dirname.c                     |    95 +-
 devel/bmake/files/filemon/filemon.h             |    53 +
 devel/bmake/files/filemon/filemon_dev.c         |   151 ++
 devel/bmake/files/filemon/filemon_ktrace.c      |   878 +++++++++++++
 devel/bmake/files/for.c                         |    10 +-
 devel/bmake/files/getopt.c                      |    89 +-
 devel/bmake/files/hash.h                        |    19 +-
 devel/bmake/files/job.c                         |   187 ++-
 devel/bmake/files/machine.sh                    |     8 +-
 devel/bmake/files/main.c                        |   506 +++++--
 devel/bmake/files/make-bootstrap.sh.in          |    35 +-
 devel/bmake/files/make.1                        |   247 +++-
 devel/bmake/files/make.c                        |    28 +-
 devel/bmake/files/make.h                        |    35 +-
 devel/bmake/files/make_malloc.c                 |     8 +-
 devel/bmake/files/meta.c                        |   701 +++++++---
 devel/bmake/files/meta.h                        |    14 +-
 devel/bmake/files/metachar.c                    |    88 +
 devel/bmake/files/metachar.h                    |    61 +
 devel/bmake/files/mk/ChangeLog                  |  1540 +++++++++++++++++++++++
 devel/bmake/files/mk/FILES                      |    72 +
 devel/bmake/files/mk/README                     |   401 +++++
 devel/bmake/files/mk/auto.dep.mk                |    74 +
 devel/bmake/files/mk/auto.obj.mk                |    76 +
 devel/bmake/files/mk/autoconf.mk                |    80 +
 devel/bmake/files/mk/autodep.mk                 |   219 +++
 devel/bmake/files/mk/compiler.mk                |    43 +
 devel/bmake/files/mk/cython.mk                  |   101 +
 devel/bmake/files/mk/dep.mk                     |   127 +
 devel/bmake/files/mk/dirdeps-options.mk         |    73 +
 devel/bmake/files/mk/dirdeps-targets.mk         |   133 +
 devel/bmake/files/mk/dirdeps.mk                 |   834 ++++++++++++
 devel/bmake/files/mk/doc.mk                     |    64 +
 devel/bmake/files/mk/dpadd.mk                   |   339 +++++
 devel/bmake/files/mk/files.mk                   |    83 +
 devel/bmake/files/mk/final.mk                   |    22 +
 devel/bmake/files/mk/gendirdeps.mk              |   383 +++++
 devel/bmake/files/mk/host-target.mk             |    44 +
 devel/bmake/files/mk/host.libnames.mk           |    29 +
 devel/bmake/files/mk/inc.mk                     |    89 +
 devel/bmake/files/mk/init.mk                    |    70 +
 devel/bmake/files/mk/install-mk                 |   185 ++
 devel/bmake/files/mk/install-new.mk             |    53 +
 devel/bmake/files/mk/java.mk                    |    97 +
 devel/bmake/files/mk/ldorder.mk                 |   156 ++
 devel/bmake/files/mk/lib.mk                     |   609 +++++++++
 devel/bmake/files/mk/libnames.mk                |    22 +
 devel/bmake/files/mk/libs.mk                    |    93 +
 devel/bmake/files/mk/links.mk                   |    80 +
 devel/bmake/files/mk/man.mk                     |   137 ++
 devel/bmake/files/mk/manifest.mk                |    66 +
 devel/bmake/files/mk/meta.autodep.mk            |   320 ++++
 devel/bmake/files/mk/meta.stage.mk              |   366 +++++
 devel/bmake/files/mk/meta.subdir.mk             |    79 +
 devel/bmake/files/mk/meta.sys.mk                |   173 ++
 devel/bmake/files/mk/meta2deps.py               |   755 +++++++++++
 devel/bmake/files/mk/meta2deps.sh               |   405 ++++++
 devel/bmake/files/mk/mk-files.txt               |   503 +++++++
 devel/bmake/files/mk/mkopt.sh                   |   103 +
 devel/bmake/files/mk/nls.mk                     |    47 +
 devel/bmake/files/mk/obj.mk                     |   113 +
 devel/bmake/files/mk/options.mk                 |    80 +
 devel/bmake/files/mk/own.mk                     |   271 ++++
 devel/bmake/files/mk/prlist.mk                  |    36 +
 devel/bmake/files/mk/prog.mk                    |   251 +++
 devel/bmake/files/mk/progs.mk                   |   102 +
 devel/bmake/files/mk/rst2htm.mk                 |    53 +
 devel/bmake/files/mk/scripts.mk                 |    91 +
 devel/bmake/files/mk/srctop.mk                  |    66 +
 devel/bmake/files/mk/stage-install.sh           |    98 +
 devel/bmake/files/mk/subdir.mk                  |   102 +
 devel/bmake/files/mk/sys.clean-env.mk           |   130 +
 devel/bmake/files/mk/sys.debug.mk               |    33 +
 devel/bmake/files/mk/sys.dependfile.mk          |    59 +
 devel/bmake/files/mk/sys.mk                     |   155 ++
 devel/bmake/files/mk/sys.vars.mk                |    85 +
 devel/bmake/files/mk/sys/AIX.mk                 |   184 ++
 devel/bmake/files/mk/sys/Darwin.mk              |   222 +++
 devel/bmake/files/mk/sys/Generic.mk             |   204 +++
 devel/bmake/files/mk/sys/HP-UX.mk               |   226 +++
 devel/bmake/files/mk/sys/IRIX.mk                |   195 ++
 devel/bmake/files/mk/sys/Linux.mk               |   187 ++
 devel/bmake/files/mk/sys/NetBSD.mk              |   230 +++
 devel/bmake/files/mk/sys/OSF1.mk                |   198 ++
 devel/bmake/files/mk/sys/OpenBSD.mk             |   205 +++
 devel/bmake/files/mk/sys/SunOS.mk               |   219 +++
 devel/bmake/files/mk/sys/UnixWare.mk            |   241 +++
 devel/bmake/files/mk/target-flags.mk            |    62 +
 devel/bmake/files/mk/warnings.mk                |   139 ++
 devel/bmake/files/mk/whats.mk                   |    69 +
 devel/bmake/files/mk/yacc.mk                    |    57 +
 devel/bmake/files/nonints.h                     |    18 +-
 devel/bmake/files/os.sh                         |    75 +-
 devel/bmake/files/parse.c                       |   218 ++-
 devel/bmake/files/sprite.h                      |     8 +-
 devel/bmake/files/str.c                         |   160 +-
 devel/bmake/files/stresep.c                     |    14 +-
 devel/bmake/files/suff.c                        |   116 +-
 devel/bmake/files/targ.c                        |    16 +-
 devel/bmake/files/unit-tests/Makefile           |   155 ++
 devel/bmake/files/unit-tests/Makefile.config.in |     4 +
 devel/bmake/files/unit-tests/cond-late.exp      |     3 +
 devel/bmake/files/unit-tests/cond-late.mk       |    23 +
 devel/bmake/files/unit-tests/cond2.mk           |     6 +-
 devel/bmake/files/unit-tests/dollar.exp         |    51 +
 devel/bmake/files/unit-tests/dollar.mk          |    81 +
 devel/bmake/files/unit-tests/doterror.exp       |     2 +-
 devel/bmake/files/unit-tests/dotwait.exp        |     4 +-
 devel/bmake/files/unit-tests/dotwait.mk         |     4 +-
 devel/bmake/files/unit-tests/escape.mk          |     6 +-
 devel/bmake/files/unit-tests/export-env.exp     |     2 +
 devel/bmake/files/unit-tests/export-env.mk      |     9 +-
 devel/bmake/files/unit-tests/forloop.exp        |     3 +-
 devel/bmake/files/unit-tests/forloop.mk         |    12 +-
 devel/bmake/files/unit-tests/include-main.exp   |     6 +
 devel/bmake/files/unit-tests/include-main.mk    |    30 +
 devel/bmake/files/unit-tests/include-sub.mk     |    17 +
 devel/bmake/files/unit-tests/include-subsub.mk  |     7 +
 devel/bmake/files/unit-tests/modmatch.exp       |     3 +
 devel/bmake/files/unit-tests/modmatch.mk        |    11 +-
 devel/bmake/files/unit-tests/modorder.mk        |     7 +-
 devel/bmake/files/unit-tests/modts.exp          |    10 +-
 devel/bmake/files/unit-tests/modts.mk           |     7 +-
 devel/bmake/files/unit-tests/sysv.exp           |     8 +
 devel/bmake/files/unit-tests/sysv.mk            |    21 +-
 devel/bmake/files/unit-tests/varcmd.exp         |     2 +
 devel/bmake/files/unit-tests/varcmd.mk          |    15 +-
 devel/bmake/files/unit-tests/varmisc.exp        |    23 +
 devel/bmake/files/unit-tests/varmisc.mk         |    58 +-
 devel/bmake/files/unit-tests/varmod-edge.exp    |    17 +
 devel/bmake/files/unit-tests/varmod-edge.mk     |   162 ++
 devel/bmake/files/unit-tests/varquote.exp       |     3 +
 devel/bmake/files/unit-tests/varquote.mk        |    14 +
 devel/bmake/files/util.c                        |    34 +-
 devel/bmake/files/var.c                         |   612 +++++---
 156 files changed, 20371 insertions(+), 2438 deletions(-)

diffs (truncated from 30745 to 300 lines):

diff -r 65d2931fc7a8 -r 3c085442580b devel/bmake/files/ChangeLog
--- a/devel/bmake/files/ChangeLog       Tue May 19 21:36:43 2015 +0000
+++ b/devel/bmake/files/ChangeLog       Sun May 24 05:35:51 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>
+
+       * 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
+



Home | Main Index | Thread Index | Old Index