Commit graph

39 commits

Author SHA1 Message Date
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
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
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
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
rillig
9f649ecff2 Emit a warning if the function name "empty" is followed by anything
other than an open parenthesis. Currently, the following lines are all
valid and equivalent:

.if empty(foo)
.if empty or nonempty or whatever(foo)
.if empty?????????????(foo)
.if empty ${foo} (bar)

All except the first line are probably mistakes.
2007-10-26 09:41:49 +00:00
rillig
204b4f08ad regen 2007-09-21 13:12:57 +00:00
rillig
ddeb88d90c Further testing revealed that there was a syntax error left. Fixed. 2007-09-21 13:12:30 +00:00
rillig
20f24e5f2d regen 2007-09-21 10:37:56 +00:00
rillig
36dc3053df When a path is specified with --with-defshell, a casual user would
expect that the path is actually used by the configure script, which had
not been the case. Now it is finally possible to select a different
shell for use by bmake.
2007-09-21 10:36:34 +00:00
joerg
93eed45663 Remove stray : that could break a substitutions as hinted by Sean
Boudreau.
2007-09-11 14:13:51 +00:00
joerg
f2b940ec22 Add QNX support. Don't redefine __BEGIN_DECLS and __END_DECLS if
system headers provided them. From Sean Boudreau.
2007-09-06 20:25:21 +00:00
joerg
181bacec05 Try to force a proper shell on Solaris by extending bmake to
expect full path names. Use the default locations in /bin unless
overriden explicitly. Bump revision of bmake.

On Solaris, use /usr/xpg4/bin/sh if it exists.
2007-09-06 19:23:25 +00:00
joerg
93e89a0f7a What xlC really wanted to tell me was to use int instead of short... 2007-07-31 13:28:57 +00:00
joerg
53ac9a8b3b Use unsigned for bitfield as fields take up the full size.
Complained on by xlC.
2007-07-31 13:21:46 +00:00
schmonz
a75ef66e01 Respect CFLAGS in a more conservative way. This preserves the ability
to build Universal on Mac OS X, and may undo the Solaris breakage
caused by the previous commit (reported in PR pkg/36408 and on
pkgsrc-users@).
2007-05-29 19:00:42 +00:00
schmonz
dd365e3802 Respect CFLAGS. Fixes Universal build on OS X. 2007-05-23 04:21:05 +00:00
rillig
3b5c19ea62 On Cygwin, the __CONCAT macro is predefined. 2007-05-07 22:19:32 +00:00
tnn
b644e5d0aa Correct hpux ifdefs. hpux 11 and up doesn't define __HPUX_VERSION.
Changes have no effect on other platforms. Patch sent to sjg@
2007-04-15 11:23:07 +00:00
rillig
1980b8f3d9 Backed out the latest change (the "arg list too long" fix for IRIX). As
joerg has pointed out, after calling vfork() one can hardly do anything.
A solution would be to simply not use vfork(), but that may have
performance impacts on all platforms.
2007-03-16 00:51:12 +00:00
rillig
5a7bce0e5e On IRIX, the command line is limited to about 20000 characters. The new
function Job_Execv executes a shell command line, and if that fails due
to an overly long command line, the shell command is written into a
temporary file, which is then executed.

This is at least necessary to make the bulk builds work on IRIX.
2007-03-15 09:41:22 +00:00
obache
aba5e6c463 Usage of variable MAKEFILE in pkgsrc has been changed.
So no longer needs this hack.
2006-09-09 02:39:11 +00:00
jlam
37c208aa2b Add a script to generate the bmake.1 man page for the bootstrap script,
and keep a copy of the bmake.1 man page in devel/bmake/files.
2006-07-14 15:58:08 +00:00
joerg
f8e7af8de1 Fix bootstrap on platforms with incompatible /usr/share/mk/sys.mk
by always forcing our internal search path when invocing bmake.boot.
This does not affect the generated binary and is the reason why this
goes directly into the tree.
2006-05-31 09:47:01 +00:00
joerg
6f58f9198e Update AC_C___ATTRIBUTE__ to fix GCC 4 build issues.
Regen configure with autoconf-2.59.
2006-03-01 16:54:46 +00:00
sjg
0b3dba565b Actually import the bmake src into files, and apply pkgsrc patches.
Also provide an import script to help keep imports consistent.
2005-12-02 00:14:56 +00:00
sjg
24be57a80b Import bmake-20051105 2005-12-02 00:02:59 +00:00
reed
0b1a0779b2 Update to version 20051105.
Remove GNU_CONFIGURE=no from pkgsrc Makefile.

Add "--mksrc none" to arguments and
add --prefix=${PREFIX} and --sysconfdir=${PKG_SYSCONFDIR}
and remove ${CONFIGURE_ARGS} for boot-strap.

Note that I didn't import the files that only change was a
CVS $Id$ tag.

From ChangeLog:

2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051105
	* configure.in: always set default_sys_path
	  default is ${prefix}/share/mk
	  - remove prefix_sys_path, anyone wanting more than above
	    needs to set it manually.

2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make this a bit easier for pkgsrc folk.
	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'

2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051102
	* job.c (JobFinish): fix likely ancient merge lossage
	fix from Todd Vierling.
	* boot-strap (srcdir): allow setting mksrc=none

2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051031
	* ranlib.h: skip on OSF too.
	  (NetBSD PR 31864)
2005-11-10 00:09:34 +00:00
reed
1ce8982391 Don't use a patch for this OSF1 fix -- so bootstrap will use this. 2005-11-02 18:41:37 +00:00
tv
50443ded29 Fix glaring error in job.c that I fixed back in the prehistoric
bootstrap-pkgsrc incarnation (WTERMSIG->WSTOPSIG).
2005-11-02 18:16:04 +00:00
reed
0368ce816e Add source files missing in last commit. 2005-10-31 21:52:25 +00:00
reed
01eb413282 Keep the bmake source in pkgsrc/devel/bmake/files/.
The plan is to remove the out-of-date source from bootstrap/bmake.
Sources obtained from ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/.
Source is kept in files/ for bootstrap purposes (to be done).

Update to version bmake-20051002. Changes include:

        * Makefile.in (BMAKE_VERSION): bump to 20051001
          support for UnixWare and some other systems,
          based on patches from pkgsrc/bootstrap

Remove DEPENDS for mk-files (as mentioned on tech-pkg in June).

Use libnbcompat. Also patch-aa is to use libnbcompat.
(I chose to use patches so files would be exact from original source
tarball.)

And use PKGMANDIR.
2005-10-31 21:34:24 +00:00