From owner-freebsd-ports Sat Aug 26 02:25:45 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id CAA03305 for ports-outgoing; Sat, 26 Aug 1995 02:25:45 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id CAA03299 ; Sat, 26 Aug 1995 02:25:40 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id CAA05181; Sat, 26 Aug 1995 02:25:38 -0700 Date: Sat, 26 Aug 1995 02:25:38 -0700 Message-Id: <199508260925.CAA05181@silvia.HIP.Berkeley.EDU> To: paul@freebsd.org CC: ports@freebsd.org In-reply-to: <199508251300.OAA16567@server.netcraft.co.uk> (message from Paul Richards on Fri, 25 Aug 1995 14:00:39 +0100 (BST)) Subject: Re: Dependencies From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * I don't like the way dependencies currently work. * * I want to build ghostview but it depends on ghostscript so when I try * and compile it it first goes off to get ghostscript and builds that, * but I've already got ghostscript installed! * * Can't the dependencies use pkg_* in some way to see if the package already * exists before trying to rebuild it again? 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. Satoshi