pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/bmake/files Merge changes from bmake-20150505, t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0787c2ab370
branches:  trunk
changeset: 651980:c0787c2ab370
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue May 19 22:01:19 2015 +0000

description:
Merge changes from bmake-20150505, the hard way because the last update
was incomplete and not using cvs import.

diffstat:

 devel/bmake/files/ChangeLog                  |   555 +++++++++++++
 devel/bmake/files/FILES                      |   142 ++-
 devel/bmake/files/Makefile                   |     2 +-
 devel/bmake/files/Makefile.in                |   149 ---
 devel/bmake/files/PSD.doc/Makefile           |     6 +-
 devel/bmake/files/PSD.doc/tutorial.ms        |    21 +-
 devel/bmake/files/README                     |     2 +-
 devel/bmake/files/aclocal.m4                 |     2 +-
 devel/bmake/files/arch.c                     |     8 +-
 devel/bmake/files/bmake.1                    |   373 ++++++--
 devel/bmake/files/bmake.cat1                 |   657 +++++++++------
 devel/bmake/files/boot-strap                 |   312 ++++--
 devel/bmake/files/bsd.after-import.mk        |     2 +-
 devel/bmake/files/buf.c                      |    47 +-
 devel/bmake/files/buf.h                      |     3 +-
 devel/bmake/files/compat.c                   |    40 +-
 devel/bmake/files/cond.c                     |    82 +-
 devel/bmake/files/config.h.in                |    15 +-
 devel/bmake/files/configure                  |  1096 ++++++++++++-------------
 devel/bmake/files/configure.in               |    44 +-
 devel/bmake/files/dir.c                      |    50 +-
 devel/bmake/files/dir.h                      |    10 +-
 devel/bmake/files/dirname.c                  |     2 +-
 devel/bmake/files/for.c                      |    81 +-
 devel/bmake/files/getenv.c                   |    90 --
 devel/bmake/files/getopt.c                   |     2 +-
 devel/bmake/files/hash.c                     |     9 +-
 devel/bmake/files/hash.h                     |     2 +-
 devel/bmake/files/install-sh                 |     2 +-
 devel/bmake/files/job.c                      |   229 +++--
 devel/bmake/files/job.h                      |     4 +-
 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        |     9 +-
 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                 |    26 +-
 devel/bmake/files/main.c                     |   467 ++++------
 devel/bmake/files/make-bootstrap.sh.in       |    10 +-
 devel/bmake/files/make-conf.h                |     8 +-
 devel/bmake/files/make.c                     |    26 +-
 devel/bmake/files/make.h                     |    53 +-
 devel/bmake/files/make_malloc.c              |     4 +-
 devel/bmake/files/make_malloc.h              |     2 +-
 devel/bmake/files/makefile.in                |     2 +-
 devel/bmake/files/meta.c                     |   315 +++++-
 devel/bmake/files/meta.h                     |     2 +-
 devel/bmake/files/missing/sys/cdefs.h        |     2 +-
 devel/bmake/files/mkdeps.sh                  |     2 +-
 devel/bmake/files/nonints.h                  |    25 +-
 devel/bmake/files/os.sh                      |    28 +-
 devel/bmake/files/parse.c                    |   355 ++++++-
 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                   |     2 +-
 devel/bmake/files/str.c                      |    16 +-
 devel/bmake/files/stresep.c                  |     2 +-
 devel/bmake/files/strlcpy.c                  |     2 +-
 devel/bmake/files/strlist.c                  |     6 +-
 devel/bmake/files/strlist.h                  |     2 +-
 devel/bmake/files/suff.c                     |   198 ++--
 devel/bmake/files/targ.c                     |    12 +-
 devel/bmake/files/trace.c                    |     6 +-
 devel/bmake/files/trace.h                    |     2 +-
 devel/bmake/files/unit-tests/Makefile.in     |   119 ++-
 devel/bmake/files/unit-tests/comment         |    31 -
 devel/bmake/files/unit-tests/cond1           |   109 --
 devel/bmake/files/unit-tests/cond1.mk        |     2 +-
 devel/bmake/files/unit-tests/cond2.mk        |     2 +-
 devel/bmake/files/unit-tests/doterror        |    20 -
 devel/bmake/files/unit-tests/doterror.mk     |     2 +-
 devel/bmake/files/unit-tests/dotwait         |    61 -
 devel/bmake/files/unit-tests/dotwait.mk      |     2 +-
 devel/bmake/files/unit-tests/error           |    10 -
 devel/bmake/files/unit-tests/error.mk        |     2 +-
 devel/bmake/files/unit-tests/escape.mk       |     2 +-
 devel/bmake/files/unit-tests/export          |    22 -
 devel/bmake/files/unit-tests/export-all      |    23 -
 devel/bmake/files/unit-tests/export-all.mk   |     2 +-
 devel/bmake/files/unit-tests/export-env.mk   |     2 +-
 devel/bmake/files/unit-tests/export.mk       |     2 +-
 devel/bmake/files/unit-tests/forloop.mk      |     2 +-
 devel/bmake/files/unit-tests/forsubst        |    10 -
 devel/bmake/files/unit-tests/forsubst.mk     |     2 +-
 devel/bmake/files/unit-tests/hash            |    18 -
 devel/bmake/files/unit-tests/impsrc.mk       |     2 +-
 devel/bmake/files/unit-tests/misc            |    16 -
 devel/bmake/files/unit-tests/misc.mk         |     2 +-
 devel/bmake/files/unit-tests/moderrs         |    31 -
 devel/bmake/files/unit-tests/moderrs.mk      |     2 +-
 devel/bmake/files/unit-tests/modmatch        |    25 -
 devel/bmake/files/unit-tests/modmisc         |    38 -
 devel/bmake/files/unit-tests/modmisc.mk      |     2 +-
 devel/bmake/files/unit-tests/modorder        |    22 -
 devel/bmake/files/unit-tests/modorder.mk     |     2 +-
 devel/bmake/files/unit-tests/modts           |    43 -
 devel/bmake/files/unit-tests/modword         |   151 ---
 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           |    24 -
 devel/bmake/files/unit-tests/posix.mk        |     2 +-
 devel/bmake/files/unit-tests/posix1.mk       |     2 +-
 devel/bmake/files/unit-tests/qequals         |     8 -
 devel/bmake/files/unit-tests/qequals.mk      |     2 +-
 devel/bmake/files/unit-tests/suffixes.mk     |     2 +-
 devel/bmake/files/unit-tests/sysv            |    26 -
 devel/bmake/files/unit-tests/sysv.mk         |     2 +-
 devel/bmake/files/unit-tests/ternary         |     8 -
 devel/bmake/files/unit-tests/test.exp        |   346 --------
 devel/bmake/files/unit-tests/unexport        |     8 -
 devel/bmake/files/unit-tests/unexport-env    |    14 -
 devel/bmake/files/unit-tests/unexport-env.mk |     2 +-
 devel/bmake/files/unit-tests/unexport.mk     |     2 +-
 devel/bmake/files/unit-tests/varcmd          |    49 -
 devel/bmake/files/unit-tests/varcmd.mk       |     2 +-
 devel/bmake/files/unit-tests/varmisc.mk      |     2 +-
 devel/bmake/files/unit-tests/varshell.mk     |     2 +-
 devel/bmake/files/util.c                     |    55 +-
 devel/bmake/files/var.c                      |   267 +++---
 devel/bmake/files/wait.h                     |     2 +-
 148 files changed, 3790 insertions(+), 3621 deletions(-)

diffs (truncated from 13989 to 300 lines):

diff -r d550aa2c7cda -r c0787c2ab370 devel/bmake/files/ChangeLog
--- a/devel/bmake/files/ChangeLog       Tue May 19 21:49:23 2015 +0000
+++ b/devel/bmake/files/ChangeLog       Tue May 19 22:01:19 2015 +0000
@@ -1,3 +1,558 @@
+2015-05-05  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * 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 called from variable expansion.
+         o unit-tests/cond2.mk: test various error conditions
+
+2015-05-04  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * machine.sh (MACHINE): Add Bitrig 
+         patch from joerg%netbsd.org@localhost
+
+2015-04-18  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20150418
+         Merge with NetBSD make, pick up
+         o job.c: use memmove() rather than memcpy()
+
+       * unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
+         case, so skip it.
+
+2015-04-11  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20150411
+         bump version - only mk/ changes.
+       
+2015-04-10  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20150410
+         Merge with NetBSD make, pick up
+         o document different handling of '-' in jobs mode vs compat
+         o fix jobs mode so that '-' only applies to whole job
+           when shell lacks hasErrCtl
+         o meta.c: use separate vars to track lcwd and latestdir (read)
+           per process
+       
+2015-04-01  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20150401
+         Merge with NetBSD make, pick up
+         o meta.c: close meta file in child
+       
+       * Makefile: use BINDIR.bmake if set.
+         Same for MANDIR and SHAREDIR
+         Handy for testing release candidates
+         in various environments.
+       
+2015-03-26  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * move initialization of savederr to block where it is used
+         to avoid spurious warning from gcc5
+
+2014-11-11  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20141111
+         just a cooler number
+
+2014-11-05  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20141105
+         Merge with NetBSD make, pick up
+         o revert major overhaul of suffix handling
+           and POSIX compliance - too much breakage
+           and impossible to make backwards compatible.
+         o we still have the new unit test structure which is ok.
+         o meta.c ensure "-- filemon" is at start of line.
+
+2014-09-17  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * configure.in: test that result of getconf PATH_MAX is numeric
+         and discard if not.  Apparently needed for Hurd.
+
+2014-08-30  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20140830
+         Merge with NetBSD make, pick up
+         o major overhaul of suffix handling
+         o improved POSIX compliance
+         o overhauled unit-tests
+
+2014-06-20  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20140620
+         Merge with NetBSD make, pick up
+         o var.c return varNoError rather than var_Error for ::= modifiers.
+
+2014-05-22  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20140522
+         Merge with NetBSD make, pick up
+         o var.c detect some parse errors.
+
+2014-04-05  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Fix spelling errors - patch from Pedro Giffuni
+
+2014-02-14  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20140214
+         Merge with NetBSD make, pick up
+         o .INCLUDEFROM*
+         o use Var_Value to get MAKEOBJDIR[PREFIX]
+         o reduced realloc'ign in brk_string.
+       * configure.in: add a check for compiler supporting __func__
+
+2014-01-03  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * boot-strap: ignore mksrc=none
+
+2014-01-02  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
+
+2014-01-01  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+       
+       * Makefile (MAKE_VERSION): 20140101
+       * configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
+       * Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
+       * make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
+         Hurd) 
+       * configure.in: Add AC_PREREQ and check for
+         sysctl; patch from Andrew Shadura andrewsh at debian.org
+
+2013-10-16  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20131010
+       * lose the const from arg to systcl to avoid problems on older BSDs.
+
+2013-10-01  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20131001
+         Merge with NetBSD make, pick up
+         o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
+           hw.machine_arch if necessary.
+         o meta.c: meta_oodate - need to look at src of Link and target
+           of Move as well.
+       * main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
+         provide __arraycount() if needed.
+
+2013-09-04  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130904
+         Merge with NetBSD make, pick up
+         o Add VAR_INTERNAL context, so that internal setting of
+           MAKEFILE does not override value set by makefiles.
+
+2013-09-02  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130902
+         Merge with NetBSD make, pick up
+         o CompatRunCommand: only apply shellErrFlag when errCheck is true
+
+2013-08-28  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130828
+         Merge with NetBSD make, pick up
+         o Fix VAR :sh = syntax from Will Andrews at freebsd.org
+         o Call Job_SetPrefix() from Job_Init() so makefiles have
+           opportunity to set .MAKE.JOB.PREFIX
+
+2013-07-30  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130730
+         Merge with NetBSD make, pick up
+         o Allow suppression of --- job -- tokens by setting
+           .MAKE.JOB.PREFIX empty.
+
+2013-07-16  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130716
+         Merge with NetBSD make, pick up
+         o number of gmake compatibility tweaks
+           -w for gmake style entering/leaving messages
+           if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
+           handle MAKEFLAGS containing only letters.
+         o when overriding a GLOBAL variable on the command line,
+           delete it from GLOBAL context so -V doesn't show the wrong
+           value.
+       
+2013-07-06  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * configure.in: We don't need MAKE_LEVEL_SAFE anymore.
+
+       * Makefile (MAKE_VERSION): 20130706
+         Merge with NetBSD make, pick up
+         o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
+           true so that CompatRunCommand() can use it, to ensure
+           consistent behavior with jobs mode.
+         o use MAKE_LEVEL_ENV to define the variable to propagate
+           .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
+         o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
+           paths to ignore.
+
+2013-06-04  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130604
+         Merge with NetBSD make, pick up
+         o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
+           to avoid leaking descriptors.
+
+2013-05-28  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130528
+         Merge with NetBSD make, pick up
+         o var.c: cleanup some left-overs in VarHash()
+
+2013-05-20  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * 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  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130518
+         Merge with NetBSD make, pick up
+         o suff.c: don't skip all processsing for .PHONY targets
+           else wildcard srcs do not get expanded.
+         o var.c: expand name of variable to delete if necessary.
+
+2013-03-30  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130330
+         Merge with NetBSD make, pick up
+         o meta.c: refine the handling of .OODATE in commands.
+           Rather than suppress command comparison for the entire script
+           as though .NOMETA_CMP had been used, only suppress it for the
+           one command line.
+           This allows something like ${.OODATE:M.NOMETA_CMP} to be used to 
+           suppress comparison of a command without otherwise affecting it.
+         o make.1: document that
+
+2013-03-22  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130321
+         yes, not quite right but its a cooler number.
+         Merge with NetBSD make, pick up
+         o parse.c: fix ParseGmakeExport to be portable 
+           and add a unit-test.
+       * meta.c: call meta_init() before makefiles are read and if built
+         with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
+         this let's makefiles test for support.
+         Call meta_mode_init() to process .MAKE.MODE.
+
+2013-03-13  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130305
+         Merge with NetBSD make, pick up
+         o run .STALE: target when a dependency from .depend is missing.
+         o job.c: add Job_RunTarget() for the above and .BEGIN
+
+2013-03-03  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130303
+         Merge with NetBSD make, pick up
+         o main.c: set .MAKE.OS to utsname.sysname
+         o job.c: more checks for read and poll errors
+         o var.c: lose VarChangeCase() saves 4% time
+
+2013-03-02  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * boot-strap: remove MAKEOBJDIRPREFIX from environment since we
+         want to use MAKEOBJDIR
+
+2013-01-27  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Merge with NetBSD make, pick up
+         o make.1: more info on how shell commands are handled.
+         o job.c,main.c: detect write errors to job pipes.
+
+2013-01-25  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * Makefile (MAKE_VERSION): 20130123
+         Merge with NetBSD make, pick up
+         o meta.c: if script uses .OODATE and meta_oodate() decides
+           rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
+         o var.c: in debug output indicate which variabale modifiers
+           apply to.
+         o remove Check_Cwd logic the makefiles have been fixed.
+       
+2012-12-12  Simon J. Gerraty  <sjg%bad.crufty.net@localhost>
+
+       * makefile.in: add a simple makefile for folk who insist on
+         ./configure; make; make install
+         it just runs boot-strap
+       * include mk/* to accommodate the above
+       * boot-strap:  re-work to accommodate the above
+         mksrc defaults to $Mydir/mk
+         allow op={configure,build,install,clean,all}
+         add options to facilitate install
+       * Makefile.config.in: just the bits set by configure
+       * Makefile: bump version to 20121212
+         abandon Makefile.in (NetBSD Makefile)
+         leverage mk/* instead
+       * configure.in: ensure srcdir is absolute



Home | Main Index | Thread Index | Old Index