From owner-freebsd-ports@FreeBSD.ORG Thu Jul 19 07:14:47 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D47B16A401; Thu, 19 Jul 2007 07:14:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 10C2B13C494; Thu, 19 Jul 2007 07:14:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A56A79.dip.t-dialin.net [84.165.106.121]) by redbull.bpaserver.net (Postfix) with ESMTP id 8FCA62E173; Thu, 19 Jul 2007 09:14:39 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id A8F4D5B5B7F; Thu, 19 Jul 2007 09:12:27 +0200 (CEST) Date: Thu, 19 Jul 2007 09:16:17 +0200 From: Alexander Leidinger To: Stephen Montgomery-Smith Message-ID: <20070719091617.3c10cc53@deskjail> In-Reply-To: <469E20D8.2020408@math.missouri.edu> References: <469D62D3.70908@math.missouri.edu> <20070718111920.43c198e3@deskjail> <469E20D8.2020408@math.missouri.edu> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: ports@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Slight problem with make actual-package-depends with ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 07:14:47 -0000 Quoting Stephen Montgomery-Smith (Wed, 18 Jul 2007 09:16:56 -0500): > Alexander Leidinger wrote: > > Quoting Stephen Montgomery-Smith (Tue, 17 Jul 2007 19:46:11 -0500): > >> It seems to me that the cure is to slightly change "make > >> actual-package-depends" so that if the port is already installed, it > >> just uses +CONTENTS. > > > > This is wrong. What if you have a port installed and you want to > > rebuild the same version with other OPTIONS which changes the +CONTENTS > > file? If I read your patch right, it will use the wrong contents... > > You cannot install the port until you have first deinstalled it (unless > you use some kind of "FORCE" option, and it is reasonable that this > would mess things up). Thus at installation time, +CONTENTS will never > exist. > > But I take your point if perhaps you do need to use some kind of FORCE > option. Yes, sorry for not being clear. Sometimes I use FORCE_PKG_REGISTER in case I really know what I'm doing. With the change you proposed, this would be only ok, if you install the port with the same options again, but not when you install with options which change the plist. Bye, Alexander. -- 1) You can't win 2) You can't break even 3) You can't even quit the game http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137