Subject: CVS commit: pkgsrc/mk/wrapper
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 09/17/2006 22:52:45
Module Name:	pkgsrc
Committed By:	rillig
Date:		Sun Sep 17 22:52:45 UTC 2006

Modified Files:
	pkgsrc/mk/wrapper: arg-source bsd.wrapper.mk cmd-sink-ld

Log Message:
When $debug_log is set to ":" and at the same time $IFS is ":", the
command line

    $debug_log $arguments

tries to execute the empty command. This results in error messages of
the form

    cc[50]: : cannot execute   (IRIX)
    bash: : command not found  (Bash)
    : permission denied        (NetBSD /bin/sh)

Setting IFS to the original value as soon as possible fixes these bugs.

Fixes PR 34135.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/wrapper/arg-source
cvs rdiff -r1.52 -r1.53 pkgsrc/mk/wrapper/bsd.wrapper.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/wrapper/cmd-sink-ld

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.