Commit graph

13 commits

Author SHA1 Message Date
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
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +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
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
cjep
e4f6e5d985 Use ${SED}, ${GREP} and ${ECHO} 2003-04-27 11:01:09 +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
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
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
f8d5151137 Conform better to pkgsrc conventions.
Reviewed: agc
2001-10-19 16:37:49 +00:00
sjg
f843972d4d Update to current macros mk-1.2.5 (no the bsd* ones are still way old).
Changes of note:
 	Added target-flags.mk allows frobbing CFLAGS for individual
 	targets.
 	prog.mk and lib.mk attempt to use bsd.prog.mk and bsd.lib.mk
 	to help ensure the right magic happens on ELF systems.
 	Several improvments to autodep.mk - now the default unless
 	NO_AUTODEP is defined.
The bsd.*.mk files are no longer installed on BSD systems as they are
almost guaranteed to do more harm than good.

Reviewed: agc
2001-10-18 21:38:32 +00:00
agc
a6622c6a18 Initial import of mk-files-1.2.2 into the NetBSD packages collection.
These are the support files for the bmake utility, by Simon Gerraty.
2001-05-25 12:33:34 +00:00