svn commit: r390865 - in head/Mk: . Scripts

olli hauer ohauer at gmx.de
Sun Jun 28 21:24:32 UTC 2015


On 2015-06-28 20:50, Baptiste Daroussin wrote:
> Author: bapt
> Date: Sun Jun 28 18:50:37 2015
> New Revision: 390865
> URL: https://svnweb.freebsd.org/changeset/ports/390865
> 
> Added:
>   head/Mk/Scripts/do-depends.sh   (contents, props changed)
> Modified:
>   head/Mk/bsd.port.mk
> 
> Added: head/Mk/Scripts/do-depends.sh
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/Mk/Scripts/do-depends.sh	Sun Jun 28 18:50:37 2015	(r390865)

...

> +find_file_path()
> +{
> +	if which -s $1 ; then
> +		echo "===>   ${dp_PKGNAME} depends on executable: $1 - found"
> +		return 0
> +	fi

Shouldn't this be 's|which|${WHICH}|' or 's|which|/usr/bin/which|' as in the old version?

E.g which in csh don't have parameter [a|s]

-- 
olli


More information about the svn-ports-all mailing list