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.
27 lines
836 B
Makefile
27 lines
836 B
Makefile
# $NetBSD: Makefile,v 1.13 2003/08/03 05:50:04 sjg Exp $
|
|
#
|
|
|
|
DISTNAME= bmake-20030731
|
|
WRKSRC= ${WRKDIR}/bmake
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/incoming/sjg/
|
|
|
|
MAINTAINER= sjg@NetBSD.org
|
|
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
|
|
COMMENT= Portable (autoconf) version of NetBSD 'make' utility
|
|
|
|
DEPENDS+= mk-files>=20030714:../../devel/mk-files
|
|
|
|
makesyspath=${PREFIX}/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && MAKESYSPATH=${makesyspath} make -f makefile.boot bootstrap
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bmake ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${PREFIX}/man/cat1/bmake.0
|
|
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|