Commit graph

116 commits

Author SHA1 Message Date
jperkin
74f81035d9 Make bash the default shell on SmartOS. 2012-07-24 13:18:00 +00:00
jperkin
dcc44bc21e Use native ksh93 on Solaris 11 and derivatives. 2012-06-15 09:54:41 +00:00
asau
73ab918702 Use configure framework and separate configure and build steps as usually.
From GSoC 2011 project by Stathis Kamperis.
2012-06-10 12:44:27 +00:00
bsiegert
a702f8677a Update version in Makefile 2011-06-18 22:43:34 +00:00
bsiegert
a63326713a Merge bmake-20110606, regenerate catman page 2011-06-18 22:39:46 +00:00
bsiegert
ed78fca6b3 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:18:21 +00:00
bsiegert
e0e1b45d71 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:17:55 +00:00
cheusov
3246e924ad Closes PR pkg/44501.
Pass pkgsrc's MACHINE_ARCH to bmake's configure script. Oked by wiz@
2011-05-09 07:48:57 +00:00
wiz
58f23cbce1 Add missing ".o". Found by Matthieu Herrb in PR 44461. 2011-01-26 10:13:48 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
seanb
6e8e92f4b7 No SA_RESTART on qnx. 2010-12-21 22:57:44 +00:00
obache
3f60e91865 Force to use select(2) instead of poll(3) for Interix. 2010-09-10 02:42:59 +00:00
joerg
e40d113cf8 Mark as bmake 20100808 2010-09-07 14:45:39 +00:00
joerg
eee88dca20 Remerge man page. Cleanup old version. 2010-09-07 14:41:39 +00:00
joerg
90abc1d44b Merge for bmake-20100808 2010-09-07 14:28:00 +00:00
joerg
c7d1ee9459 Import bmake-20100808:
- boot-strap (TOOL_DIFF): set this to ensure tests use the same version
  of diff that configure tested
- in jobs mode, when we discover we cannot make something, call
  PrintOnError before exit.
- formatting fixes for ignored errors
- ensure jobs are cleaned up regardless of where wait() was called.
- os.sh (MACHINE_ARCH): watch out for drivel from uname -p
- call PrintOnError from JobFinish when we detect an error we are not
  ignoring.
- use bmake_signal() which is a wrapper around sigaction() in place of
  signal()
- add .export-env to allow exporting variables to environment without
  tracking (so no re-export when the internal value is changed).
- fix for .info et al being greedy.
- back to using realpath on argv[0] but only if contains '/' and does not
  start with '/'.
2010-09-07 14:12:27 +00:00
joerg
36f27617cb Merge bmake-20100510 2010-05-13 18:43:07 +00:00
joerg
2ee76368cc Regen 2010-04-24 21:11:25 +00:00
joerg
f49d7ece30 Update to bmake-20100423 2010-04-24 21:10:52 +00:00
joerg
c097be28e9 Merge for bmake-20100423 2010-04-24 21:10:29 +00:00
joerg
64225fcbe6 Import bmake-20100423:
- Fixes for vfork(), bogus $TMPDIR, .export and realpath(3)
- boot-strap fixes to allow -m .../mk, no default use of /usr/share/mk
  on !NetBSD, honor --with-default-sys-path
- Other small improvements
2010-04-24 20:33:57 +00:00
joerg
415a4bfa33 Reflect update. 2010-04-21 14:29:43 +00:00
joerg
0ee378e1ac Merge bmake-20100414 2010-04-20 13:37:49 +00:00
joerg
ad61420f55 Import bmake-20100414:
- Resolve argv[0] with realpath if needed
- Add :tA to realpath(3)ify variables
- Support for .info, .warning, .error, .ERROR
- Unit tests for .ERROR / .error; never make .ERROR the default target
- Fix for .ALLSRC being populated twice
- Support for .MAKE_MODE, .MAKE.MAKEFILE_PREFERENCE, .MAKE_DEPENDFILE
- Haiku support
- Improved diagnostics for .for with multiple variables
- Rewrite bootstrap to not use make
- Fix for -m .../
- Add support for .unexport
- Catch typoes in .el*if etc
- Fix parsing of :S;...;...; applied to .for loop iterators appearing in
  dependency lines
2010-04-20 13:32:27 +00:00
joerg
ac95e00c3b Redundant file. 2009-11-05 16:38:40 +00:00
joerg
3370bf0113 Unused file. 2009-10-09 12:56:30 +00:00
seb
c117204dc0 Fix build with sunpro's cc and other non-gcc compiler I guess:
do not blindly compile var.c with -Wno-cast-qual.
2009-09-19 09:01:59 +00:00
tron
c30df4a3d4 Set the license to "modified-bsd". 2009-09-19 06:44:33 +00:00
joerg
bfbd82d19b Update to bmake-20090909 2009-09-18 21:27:25 +00:00
joerg
d4277d4d50 Import bmake-20090909:
- .MAKE.LEVEL, -C, SIGINFO support
- fixes for :M and \:
- vfork signal handling fixes e.g. for Solaris
2009-09-18 20:55:23 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
b690d82b32 Apply parse.c 1.149 and 1.150 from src/usr.bin/make to remove use of
C99.
2009-03-20 16:38:59 +00:00
joerg
c73f1108a4 Update to bmake-20081111 (portability changes). 2008-11-11 20:01:58 +00:00
joerg
c9fde66e7f Merge changes. 2008-11-11 19:47:38 +00:00
joerg
0e0b2f65b2 bmake-20081111:
- remove unused compat code for (v)asprintf
- remove unneeded configure checks
- use emalloc and co only if the whole family is provided by libutil
2008-11-11 19:32:33 +00:00
joerg
5ab0145ce7 bmake is now at 20081101. 2008-11-11 14:41:21 +00:00
joerg
20520ea9e1 Merge changes. 2008-11-11 14:37:05 +00:00
joerg
0406838fc2 Update to bmake 20081101 snapshot. The more important changes are:
- portability fixes for putenv
- man page updates
- fix processing of .END with -j
- fix some segmentation faults on parse errors
- debug output goes to stderr by default
- first round of fixes for A/UX
- fix crashes on long lines
- faster VarQuote
- fix use of ?= when the LHS contains variable references
2008-11-11 14:28:22 +00:00
obache
65660a55ca Disable bmake regression tests also on AIX. PR 39064. 2008-07-03 11:28:52 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
tnn
2be145ec3b Set need_ksh=yes for SunOS as well. Asked by joerg@ 2008-05-23 18:06:44 +00:00
tnn
197ca66319 On OSF1, depend on shells/pdksh and use it for the default shell.
Bump the pkgrevision because if this change.
2008-05-23 17:43:31 +00:00
martin
d86d72404e Drop clauses 3 and 4 from TNF licenses 2008-04-29 05:46:08 +00:00
tnn
77162e03dc Adjust previous for 64-bit IRIX. 2008-04-28 15:55:00 +00:00
tnn
896194fdf1 Disable bmake regression tests on SunOS and IRIX. Stopgap fix for:
PR pkg/38397
PR pkg/38450
PR pkg/38221
2008-04-26 22:06:27 +00:00
joerg
392bc32bec Skip man page handling. 2008-03-11 17:20:05 +00:00
joerg
dd86c24e6c Update bmake to 20080215. I'll take care of pkgsrc maintainership.
Changes include many bugfixes and performance speed ups. See
ChangeLog for details.
2008-03-09 19:54:28 +00:00
joerg
cbeeb7c811 Import bmake-20080215 2008-03-09 19:39:31 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
tnn
f485e87381 Reset maintainer, until someone merges the changes from NetBSD-current.
Any takers?
2008-02-05 15:37:18 +00:00