Commit graph

74 commits

Author SHA1 Message Date
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
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
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +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
rillig
0b3354844d Fixed a typo (xpg4 instead of xpg). 2007-09-21 10:16:28 +00:00
joerg
93eed45663 Remove stray : that could break a substitutions as hinted by Sean
Boudreau.
2007-09-11 14:13:51 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +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
joerg
1da2c7726f Explicitly depend on bootstrap-mk-files, remove the broken_in marker.
This package is special. Bump revision.
2007-04-12 21:28:42 +00:00
joerg
2dfcdbab0c Change bootstrap to register bmake as package. Change bmake to
use inplace libnbcompat like the direct build from bootstrap
does. Fix a long-standing bug in mkbinarykit. The default work
directory was "work" (relative) and therefore MAKECONF=work/...
was passed down, effectively making it a nop. That resulted in
digest being incorrectly installed during the bootstrap.

Tested on DragonFly by myself and on OSF by tnn@, discussed with jlam@
2007-04-12 20:31:04 +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
dbj
1879dec905 install bmake.1 from ${WRKSRC} instead of ${WRKDIR}/${OBJSYS} 2007-03-05 00:24:33 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).

Feel free to fix them...
2007-01-31 00:04:11 +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
1284f595b8 Mark these packages as NO_MTREE as they are bootstrap packages and don't
need mtree to pre-generate any directories for them.
2006-07-14 16:24:28 +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
jlam
6a9a4fb258 Don't bother installing the catman page... it's not worth the hassle for
a bootstrap tool to figure out how to do this.
2006-07-14 15:18:17 +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
joerg
e806cd23e8 sysMkPath should be ${PREFIX}/share/mk by default and only that.
Including e.g. /usr/share/mk results in sys.mk read from there
as well. On DragonFly this adds X11BASE and results in obscure
breakages. Since the mk files are supposed to be self-contained,
it doesn't make much sense to look in other directories anyway.
Bump revision to annotate this.

Discussed-with: reed@.
Reported-by: Aggelos Economopoulos <aoiko AT cc DOT ece DOT ntua DOT gr>
2005-11-16 13:53:51 +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
d4861121d8 Add patch-ab and bump PKGREVISION.
This is from bootstrap for OSF1 5.1 from Sergey Svishchev in PR 31864.
2005-11-01 00:07:20 +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
sjg
ec6404f5a1 Update to bmake-20050901 which includes a fix for PR/31077
Also use the distributed bmake.cat1 if one is not generated for
this platform.
2005-09-04 17:09:54 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
sjg
79c4c2d5fb Update bmake to sync with latest make. 2005-05-31 20:52:52 +00:00