summaryrefslogtreecommitdiff
path: root/devel/bmake
AgeCommit message (Collapse)AuthorFilesLines
2007-09-21Further testing revealed that there was a syntax error left. Fixed.rillig1-1/+2
2007-09-21regenrillig1-8/+3
2007-09-21When a path is specified with --with-defshell, a casual user wouldrillig1-9/+4
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-21Fixed a typo (xpg4 instead of xpg).rillig1-2/+2
2007-09-11Remove stray : that could break a substitutions as hinted by Seanjoerg2-3/+3
Boudreau.
2007-09-08Convert to use the features framework.jlam1-2/+3
2007-09-06Add QNX support. Don't redefine __BEGIN_DECLS and __END_DECLS ifjoerg2-6/+19
system headers provided them. From Sean Boudreau.
2007-09-06Try to force a proper shell on Solaris by extending bmake tojoerg10-2890/+3251
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-07-31What xlC really wanted to tell me was to use int instead of short...joerg1-2/+2
2007-07-31Use unsigned for bitfield as fields take up the full size.joerg1-2/+2
Complained on by xlC.
2007-05-29Respect CFLAGS in a more conservative way. This preserves the abilityschmonz3-10/+7
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-23Respect CFLAGS. Fixes Universal build on OS X.schmonz3-6/+9
2007-05-07On Cygwin, the __CONCAT macro is predefined.rillig1-1/+3
2007-04-15Correct hpux ifdefs. hpux 11 and up doesn't define __HPUX_VERSION.tnn1-3/+3
Changes have no effect on other platforms. Patch sent to sjg@
2007-04-12Explicitly depend on bootstrap-mk-files, remove the broken_in marker.joerg1-3/+3
This package is special. Bump revision.
2007-04-12Change bootstrap to register bmake as package. Change bmake tojoerg1-8/+4
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-03-16Backed out the latest change (the "arg list too long" fix for IRIX). Asrillig3-74/+14
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-15On IRIX, the command line is limited to about 20000 characters. The newrillig3-14/+74
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-05install bmake.1 from ${WRKSRC} instead of ${WRKDIR}/${OBJSYS}dbj1-2/+2
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-3/+3
Patch provided by Sergey Svishchev in private mail.
2007-01-31Mark as BROKEN_IN pkgsrc-2006Q4, based onwiz1-1/+3
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...
2006-09-09Usage of variable MAKEFILE in pkgsrc has been changed.obache1-12/+3
So no longer needs this hack.
2006-07-14Mark these packages as NO_MTREE as they are bootstrap packages and don'tjlam1-2/+3
need mtree to pre-generate any directories for them.
2006-07-14Add a script to generate the bmake.1 man page for the bootstrap script,jlam2-0/+1628
and keep a copy of the bmake.1 man page in devel/bmake/files.
2006-07-14Don't bother installing the catman page... it's not worth the hassle forjlam2-21/+4
a bootstrap tool to figure out how to do this.
2006-05-31Fix bootstrap on platforms with incompatible /usr/share/mk/sys.mkjoerg1-3/+3
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-03-01Update AC_C___ATTRIBUTE__ to fix GCC 4 build issues.joerg2-467/+941
Regen configure with autoconf-2.59.
2005-12-02Actually import the bmake src into files, and apply pkgsrc patches.sjg4-27/+36
Also provide an import script to help keep imports consistent.
2005-12-02Import bmake-20051105sjg75-162/+162
2005-11-16sysMkPath should be ${PREFIX}/share/mk by default and only that.joerg1-2/+3
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-10Update to version 20051105.reed7-61/+119
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-02Don't use a patch for this OSF1 fix -- so bootstrap will use this.reed2-15/+2
2005-11-02Fix glaring error in job.c that I fixed back in the prehistorictv2-6/+6
bootstrap-pkgsrc incarnation (WTERMSIG->WSTOPSIG).
2005-11-01Add patch-ab and bump PKGREVISION.reed3-2/+17
This is from bootstrap for OSF1 5.1 from Sergey Svishchev in PR 31864.
2005-10-31Add source files missing in last commit.reed43-0/+7320
2005-10-31Keep the bmake source in pkgsrc/devel/bmake/files/.reed54-9/+39256
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-09-04Update to bmake-20050901 which includes a fix for PR/31077sjg2-7/+22
Also use the distributed bmake.cat1 if one is not generated for this platform.
2005-06-16Create directories before installing files into them.jlam1-1/+3
2005-05-31Update bmake to sync with latest make.sjg2-6/+6
2005-02-23Add RMD160 digests.agc1-1/+2
2004-05-11Update bmake to 20040511 which syncs with -current (and 2.0).sjg2-13/+14
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-02-21Update bmake and mk-files.sjg2-5/+5
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-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-19Update bmake to 20040118.sjg2-5/+5
Changes include: variable expansion in sysV style replacements fix for cond.c to handle compound expressions better fix for ternary modifier
2003-12-22Update bmake to 20031222 - matches NetBSD make as of that date.sjg2-5/+5
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-09-28Update bmake to 20030928 - now includessjg2-5/+5
-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-16mark this ONLY_FOR_PLATFORM NetBSD for now, as it destroys thegrant1-1/+3
mk files installed from bootstrap-pkgsrc. thanks, salo.
2003-08-03Update bmake and mk-files.sjg2-5/+5
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-07-23There was a bug in make 20030714 such that the :ts modifier didn't work.sjg2-5/+5
Update to 20030723, which also has some minor portability improvements in the boot-strap and install-mk scripts.
2003-07-20Update to latest bmake which now uses a date based version.sjg2-6/+6
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.