head 1.2; access; symbols pkgsrc-2015Q1:1.1.1.1.0.32 pkgsrc-2015Q1-base:1.1.1.1 pkgsrc-2014Q4:1.1.1.1.0.30 pkgsrc-2014Q4-base:1.1.1.1 pkgsrc-2014Q3:1.1.1.1.0.28 pkgsrc-2014Q3-base:1.1.1.1 pkgsrc-2014Q2:1.1.1.1.0.26 pkgsrc-2014Q2-base:1.1.1.1 pkgsrc-2014Q1:1.1.1.1.0.24 pkgsrc-2014Q1-base:1.1.1.1 pkgsrc-2013Q4:1.1.1.1.0.22 pkgsrc-2013Q4-base:1.1.1.1 pkgsrc-2013Q3:1.1.1.1.0.20 pkgsrc-2013Q3-base:1.1.1.1 pkgsrc-2013Q2:1.1.1.1.0.18 pkgsrc-2013Q2-base:1.1.1.1 pkgsrc-2013Q1:1.1.1.1.0.16 pkgsrc-2013Q1-base:1.1.1.1 pkgsrc-2012Q4:1.1.1.1.0.14 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.12 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.10 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.8 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.6 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.4 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.2 pkgsrc-2011Q2-base:1.1.1.1 bmake-20110606:1.1.1.1 BMAKE:1.1.1; locks; strict; comment @# @; 1.2 date 2015.05.19.22.01.19; author joerg; state dead; branches; next 1.1; commitid HKZ70xXIeo3Ky6my; 1.1 date 2011.06.18.22.18.21; author bsiegert; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.06.18.22.18.21; author bsiegert; state Exp; branches; next ; desc @@ 1.2 log @Merge changes from bmake-20150505, the hard way because the last update was incomplete and not using cvs import. @ text @# $Id: misc,v 1.1 2011/06/18 22:18:21 bsiegert Exp $ .if !exists(${.CURDIR}/) .warning ${.CURDIR}/ doesn't exist ? .endif .if !exists(${.CURDIR}/.) .warning ${.CURDIR}/. doesn't exist ? .endif .if !exists(${.CURDIR}/..) .warning ${.CURDIR}/.. doesn't exist ? .endif all: @@: all is well @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $Id: misc,v 1.1.1.1 2011/03/06 00:04:58 sjg Exp $ @ 1.1.1.1 log @Import bmake-20110606. Many changes, among them: - unit-tests/modts now works on MirBSD - meta mode - ApplyModifiers: when we parse a variable which is not the entire modifier string, or not followed by ':', do not consider it as containing modifiers. - when long modifiers fail to match, check sysV style. - :hash - cheap 32bit hash of value - :localtime, :gmtime - use value as format string for strftime. - fix for use after free() in CondDoExists(). - boot-strap (TOOL_DIFF): aparently at least on linux distro formats the output of 'type' differently - so eat any "()" - correct sysV substitution handling of empty lhs and variable - correct exists() check for dir with trailing / - correct handling of modifiers for non-existant variables during evaluation of conditionals. - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles have been read. - fix example of :? modifier in man page. - sigcompat.c: convert to ansi so we can use higher warning levels. - parse.c: SunOS 5.8 at least does not have MAP_FILE - use mmap(2) if available, for reading makefiles - to ensure unit-tests results match, need to control LC_ALL as well as LANG. - if stale dependency is an IMPSRC, search via .PATH - machine.sh: like os.sh, allow for uname -p producing useless drivel - boot-strap: document configure knobs for meta and filemon. @ text @@