Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 23:24:25 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r390865 - in head/Mk: . Scripts
Message-ID:  <55906609.2080905@gmx.de>
In-Reply-To: <201506281850.t5SIocPn077890@svn.freebsd.org>
References:  <201506281850.t5SIocPn077890@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55906609.2080905>