Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 22:30:48 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: HEADSUP: new infrastructure changes in bsd.port.mk and co
Message-ID:  <20060122113048.GC1030@k7.mavetju>
In-Reply-To: <43D36BFB.6090403@infracaninophile.co.uk>
References:  <20060121231436.GA52605@voodoo.bawue.com> <20060122083521.GB1030@k7.mavetju> <43D36BFB.6090403@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060122113048.GC1030>