Date: Sun, 27 Aug 1995 13:25:32 +0100 (BST) From: Paul Richards <paul@netcraft.co.uk> To: asami@cs.berkeley.edu (Satoshi Asami) Cc: paul@freebsd.org, ports@freebsd.org Subject: Re: Dependencies Message-ID: <199508271225.NAA00628@server.netcraft.co.uk> In-Reply-To: <199508260925.CAA05181@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Aug 26, 95 02:25:38 am
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Satoshi Asami who said > > Uhh, it should. The line: > > EXEC_DEPENDS= gs:${PORTSDIR}/print/ghostscript > > in the ghostview Makefile does exactly that, check if the program "gs" > is in the search path (it uses "which"), and goes to build ghostscript > only if it's not found. > > Maybe you don't have /usr/local/bin in your root's search path, then > well sorry, it won't work, and I don't see any workaround for it. Can't we use the pkg* interface to find out if a package is installed or not? It's much more robust thatn relying on the path being set properly for all users who might try and install a port. -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508271225.NAA00628>