From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 10:08:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43D2E16A4CE for ; Fri, 31 Oct 2003 10:08:46 -0800 (PST) Received: from lilzmailfe02.liwest.at (lilzmailfe02.liwest.at [212.33.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B82143F75 for ; Fri, 31 Oct 2003 10:08:45 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailfe02.liwest.at with esmtp (Exim 4.14) id 1AFdhT-00014L-P2; Fri, 31 Oct 2003 19:08:43 +0100 From: Daniela To: Zhang Weiwu , freebsd-questions@freebsd.org Date: Fri, 31 Oct 2003 19:04:32 +0000 User-Agent: KMail/1.5.3 References: <3FA32C52.5040906@hotmail.com> In-Reply-To: <3FA32C52.5040906@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310311904.32889.dgw@liwest.at> Subject: Re: simple&silly wish to know port dependency. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 18:08:46 -0000 On Saturday 01 November 2003 03:45, Zhang Weiwu wrote: > Hello. When I make deinstall a port I often get the message: > port xxx depends on this port, but I'll still deinstall it anyway. > > That's really frustrating. I'd like to be able to know who depends on it > before de-installing it. Any suggestions? > > Look through the handbook I didn't find an answer. Look into the Makefile. There is likely a line starting with BUILD_DEPENDS and one with RUN_DEPENDS. What follows these variable names are lists of files the program depends on, and (separated with a colon) the port that must be installed to get it. Daniela