From owner-freebsd-ports@FreeBSD.ORG Tue Jan 2 21:12:04 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 BE2BF16A403 for ; Tue, 2 Jan 2007 21:12:04 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 462A513C465 for ; Tue, 2 Jan 2007 21:12:04 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.8/8.13.8) with ESMTP id l02LC0Vk028427; Wed, 3 Jan 2007 00:12:00 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Wed, 3 Jan 2007 00:12:00 +0300 (MSK) From: Dmitry Morozovsky To: Wesley Shields In-Reply-To: <20070102194013.GB95902@atarininja.org> Message-ID: <20070103000824.Y28172@woozle.rinet.ru> References: <20070102215813.Y12293@woozle.rinet.ru> <20070102194013.GB95902@atarininja.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Wed, 03 Jan 2007 00:12:00 +0300 (MSK) Cc: ports@freebsd.org Subject: Re: files to be checked on meta-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: Tue, 02 Jan 2007 21:12:04 -0000 On Tue, 2 Jan 2007, Wesley Shields wrote: WS> > For some time I use local meta-ports referring different sets of useful ports. WS> > Most of the time, this works well; the only exception is meta-ports which do WS> > not install own files. WS> > WS> > I thought about refering /var/db/pkg/pkgname/ files, but this seems WS> > unscalable due to constant path changes. WS> > WS> > Your thoughts? WS> WS> I don't know if it's acceptable to look there but you can always use WS> ${PKG_DBDIR}/${PORTNAME} to get /var/db/pkg/portname (by default). I'm WS> not sure I understand the "constant path changes" you mention. Errm, this refers to current port, not to the dependency (say, my misc/ws-preferred wants to install x11/xorg) WS> I think what you really want is mentioned at the bottom of: WS> WS> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN2226 If you refer to (currently) 5.7.10, then it's now what we want: dependent port will be rebuilt unconditionally, and in installation phase would fail on "already installed" error... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------