Commit graph

27 commits

Author SHA1 Message Date
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
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
sjg
c598d8d518 Update bmake to 20040511 which syncs with -current (and 2.0).
We now use bmake/boot-strap for simpler building.
New location for distfile.

Changes to bmake include:
o allow quoted strings on lhs of conditionals
o issue warning when extra .else is seen
o print line numer when errors encountered during parsing from
  string.
o posix fixes
  - remove '-e' from compat mode
  - add support for '+' command-line prefix.
o fix for handling '--' on command-line.
2004-05-11 18:28:32 +00:00
sjg
ce4c2a6e12 Update bmake and mk-files.
bmake is sync'd with -current make as of 2004-02-20
Fixes include:
o fix for old :M parsing bug.
o re-jigged unit-tests
o search upwards for *.mk
o fix for double free of var substitution buffers
o use of getopt replaced with custom code, since the usage
  (re-scanning) isn't posix compatible.
* arch.c: don't include ranlib.h on ELF systems

mk-files adds dpadd.mk (cool magic driven by DPADD)
and a re-worked warnings.mk (very cool).
Also fixes:
* own.mk: don't use NetBSD's _SRC_TOP_ it can
  cause confusion.  Also don't take just 'mk' as a
  srctop indicator.
* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
2004-02-21 00:15:44 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
sjg
acdc3ca010 Update bmake to 20040118.
Changes include:
variable expansion in sysV style replacements
fix for cond.c to handle compound expressions better
fix for ternary modifier
2004-01-19 00:57:10 +00:00
sjg
28f7d8abe9 Update bmake to 20031222 - matches NetBSD make as of that date.
Changes include:
* Make portable snprintf safer - output to /dev/null first to
check space needed.

o -dg3 to show input graph when things go wrong.
o explicitly look for makefiles in objdir if not found in curdir so
  that errors in .depend etc will be reported accurarely.
o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
  instead as it more accurately reflects the expected behavior and
  is more consistently implemented.
o avoid use of asprintf.
2003-12-22 23:26:43 +00:00
sjg
fac87149a2 Update bmake to 20030928 - now includes
-de to get more verbose error messages
:[] modifier to pick words from variable etc.

Update mk-files to 20030928
added some extra sys.mk's from bootstrap-pkgsrc
changed own.mk to default to root:${ROOT_GROUP} ownership.
sys.mk can set ROOT_GROUP if wheel is not right.
2003-09-28 21:08:59 +00:00
grant
46fd977536 mark this ONLY_FOR_PLATFORM NetBSD for now, as it destroys the
mk files installed from bootstrap-pkgsrc. thanks, salo.
2003-09-16 17:14:08 +00:00
sjg
16d168ebbb Update bmake and mk-files.
Changes to mk-files:
	* install-mk: add ability to use cp -f when updating
	destination .mk files.  Also now possible to play games with
	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
	into dest - not recommended unless you seriously want to.
	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
	for semi-compatability with NetBSD.
Changes to bmake:
	* boot-strap: Allow setting configure args on command line.
	* configure.in: add --with-defshell to allow sh or ksh
	to be selected as default shell.
	* Merge with NetBSD make 20030731
	Pick up .SHELL spec for ksh and associate man page changes.
	Also compat mode now uses the same shell specs.
	* var.c (Var_Parse): ensure delim is initialized.
	* unit-tests/Makefile.in: use single quotes to avoid problems from
	some shells.
	* makefile.boot.in:
	Run the unit-tests as part of the bootstrap procedure.
	* unit-tests/Makefile.in: always force complaints from
	${TEST_MAKE} to be from 'make'.
	* configure.in: add check for 'diff -u'
	also fix some old autoconf'isms
	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
	if using GCC add -Wno-cast-qual to CFLAGS for var.o
	* Merge with NetBSD make 20030728
	Pick up fix for :ts parsing error in some cases.
	Pick unit-tests.
2003-08-03 05:50:02 +00:00
sjg
4cc0033d22 There was a bug in make 20030714 such that the :ts modifier didn't work.
Update to 20030723, which also has some minor portability improvements
in the boot-strap and install-mk scripts.
2003-07-23 18:34:44 +00:00
sjg
d69c3f61c0 Update to latest bmake which now uses a date based version.
Same for mk-files.  In the case of bmake the version closely
corresponds to the date of the latest sync with usr.bin/make.

Changes to bmake since 3.1.18 include:

	Pick up fixes for const-correctness, now passes WARNS=3 on
	NetBSD.
	Pick up :ts modifier, allows controlling the separator used
	between words in variable expansion.

	* FILES: include boot-strap and os.sh

	* Makefile.in: only set WARNS if we are NetBSD, the effect on
	FreeBSD is known to be bad.

	* makefile.boot.in (bootstrap): make this the default target.

	* Makefile.in: bump version to 3.1.19

	* machine.sh: avoid A-Z with tr as it is bound to lose.

	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
	Plus some doc fixes.


Changes to mk-files since 1.3.2:

	Don't inlcue -pipe in CC for SunOS.

	Make it easier to do non-root installs by overriding *_INSTALL_OWN.
	Use STRIP_FLAG rather than STRIP for -s
	Avoid use of A-Z with tr.
	Avoid searching above /a/b/ when looking for
	top-of-tree Linux at least hangs if you try to examine an automount
	mount point.
2003-07-20 23:25:19 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
sjg
ec0ea33a4c Update to bmake-3.1.18 2003-04-30 07:58:45 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
sjg
446aa46176 Need to update bmake - pick up fix for bug introduced in 3.1.14. 2002-12-01 06:27:38 +00:00
sjg
a6013d5ef4 Update to bmake-3.1.14 which apart from adding support for ${.PATH}
fixes a bug in location of sources specified with relative paths
(via .depend).

This version also has some bootstrapping improvments.
2002-11-27 07:14:59 +00:00
sjg
c61225e162 Update bmake and mk-files to latest versions.
bmake is now sync'd with NetBSD-1.6
mk-files have been overhauled to handle ELF on BSD systems.
2002-09-20 07:00:52 +00:00
jmc
3516754c8c Correct a bad assumption in machine.sh. It's assuming MACHINE_ARCH is equiv to
MACHINE on *BSD platforms which isn't true for cases like macppc where it's
arch is actually powerpc. So on *BSD run uname -p to get MACHINE_ARCH.
2002-02-18 10:10:21 +00:00
jlam
7046abc822 Changes instances where BSD_INSTALL_* were used by targets in the Makefile
into the equivalent INSTALL_*.  This is fallout from the change in
revision 1.915 that removed ${MAKE_ENV} from the environment for a
recursive make.
2002-02-06 16:58:11 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
sjg
037b8ccfb2 Update to bmake-3.1.12
Changes of note:
        synched with NetBSD make as of 2001/10/16
        fix for bug in compat mode .END processing
        fix for bug in cleanup of jobs when using -jN
        addition of .USEBEFORE
        simpler bootstrap - compiles again on recent linux (Red Hat)
The Makefile here now deals with the fact that we may not have installed
a sys.mk in /usr/pkg/share/mk on BSD systems.

Reviewed: agc
2001-10-18 21:41:06 +00:00
agc
c6951a7f40 Update package to version 3.1.10, sync-ing with NetBSD-current in one fell
swoop.

Changes since previous version:

Tue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

        * var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
        us not to export the iterator variable when using VAR_CMD context.

Sun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

        * job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
        its the wrong "fix".

Sat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

        * Redesigned export of VAR_CMD's via MAKEFLAGS.
        We now simply append the variable names to .MAKEOVERRIDES, and
        handle duplicate suppression and quoting in ExportMAKEFLAGS using:
        ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
        Apart from fixing quoting bugs in previous version, this allows us
        to export vars to the environment by simply doing:
        .MAKEOVERRIDES+= PATH
        Merged again with NetBSD make, but the above is the only change.

        * configure.in: added
        --disable-pwd-override          disable $PWD overriding getcwd()
        --disable-check-make-chdir      disable make trying to guess
                when it should automatically cd ${.CURDIR}

        * Merge with NetBSD make, changes include:
        parse.c (ParseDoDependency): Spot that the syntax error is
        caused by an unresolved cvs/rcs conflict and say so.
        var.c: most of Var* functions now take a ctxt as 1st arg.
        now does variable substituion on rhs of sysv style modifiers.

        * var.c (Var_Set): exporting of command line variables (VAR_CMD)
        is now done here.  We append the name='value' to .MAKEOVERRIDES
        rather than directly into MAKEFLAGS as this allows a Makefile to
        use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
        very similar mechanism.  Note that in adding name='value' to
        .MAKEOVERRIDES we do the moral equivalent of:
        .MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
2001-06-17 22:02:20 +00:00
agc
70f396c3cd Initial import of bmake-3.1.6 into the packages collection.
This is NetBSD's make(1) utility, with a configure script and
supporting replacements for various NetBSD library routines, ported to
other Operating Systems by Simon Gerraty.  Solaris, SunOS, HP-UX,
Linux and AIX are amongst the operating systems supported.
2001-05-25 12:41:14 +00:00