From owner-freebsd-ports@FreeBSD.ORG Sun Jan 22 11:31:02 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC6F416A41F for ; Sun, 22 Jan 2006 11:31:02 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4234C43D45 for ; Sun, 22 Jan 2006 11:31:02 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 6BFA57073FF; Sun, 22 Jan 2006 22:31:01 +1100 (EST) X-Viruscan-Id: <43D36CF50000CF50ACF56F@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 1A3BC7073F1; Sun, 22 Jan 2006 22:31:01 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail2-auth.barnet.com.au (Postfix) with ESMTP id CACF87073E6; Sun, 22 Jan 2006 22:30:59 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 5576881A; Sun, 22 Jan 2006 22:30:48 +1100 (EST) Date: Sun, 22 Jan 2006 22:30:48 +1100 From: Edwin Groothuis To: Matthew Seaman Message-ID: <20060122113048.GC1030@k7.mavetju> References: <20060121231436.GA52605@voodoo.bawue.com> <20060122083521.GB1030@k7.mavetju> <43D36BFB.6090403@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D36BFB.6090403@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org Subject: Re: HEADSUP: new infrastructure changes in bsd.port.mk and co 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: Sun, 22 Jan 2006 11:31:02 -0000 On Sun, Jan 22, 2006 at 11:26:51AM +0000, Matthew Seaman wrote: > Edwin Groothuis wrote: > > On Sun, Jan 22, 2006 at 12:14:36AM +0100, Kirill Ponomarew wrote: > >> * Add @dirrmtry for plists which does the same as: > >> "@unexec rmdir %D/foo 2>/dev/null || true". It's now possible > >> to use PLIST_REINPLACE target with regexp expressions. > > > > I have updated, thanks to a carte blanch from portmgr, all pkg-plists > > and other places where @dirrmtry could have been used. > > > > If there is a port which "make install" / "make deinstall" doesn't > > work as expected but it did first, let me know and I'll fix whatever > > mistake I've made (with a backout of the change in the pkg-plist > > is worst comes to worst) > > Presumably this change requires a corresponding change in the pkg tools > supplied with the system? And earlier system versions should install > sysutils/pkg_install? Internally (in bsd.port.mk), @dirrmtry is translated into an "@unexec rmdir %D/foo etc". The theory is that one day, pkg_create will understand @dirrmtry (and all new and exciting @commands) and then the internal translation can be removed. But we're not there yet, and I think this will be here for a long long time. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/