From owner-freebsd-ports@FreeBSD.ORG Tue Dec 15 09:29:47 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF163106568B for ; Tue, 15 Dec 2009 09:29:47 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay012.isp.belgacom.be (mailrelay012.isp.belgacom.be [195.238.6.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA498FC32 for ; Tue, 15 Dec 2009 09:29:46 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgEADvdJktXQmf0/2dsb2JhbACBS9YHhCsE Received: from 244.103-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.atlascopco.be) ([87.66.103.244]) by relay.skynet.be with ESMTP; 15 Dec 2009 10:00:20 +0100 Received: from kalimero.atlascopco.be (kalimero.atlascopco.be [127.0.0.1]) by kalimero.atlascopco.be (8.14.3/8.14.3) with ESMTP id nBF90J7w001795; Tue, 15 Dec 2009 10:00:19 +0100 (CET) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-ports@freebsd.org, Matthew Seaman Date: Tue, 15 Dec 2009 10:00:18 +0100 User-Agent: KMail/1.9.10 References: <20091214151318.GC1016@wicklow.lan> <4B274487.7080505@infracaninophile.co.uk> In-Reply-To: <4B274487.7080505@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151000.19393.tijl@coosemans.org> Cc: Subject: Re: New version of the fakeroot patch 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, 15 Dec 2009 09:29:48 -0000 On Tuesday 15 December 2009 09:10:47 Matthew Seaman wrote: > Uh -- is it actually possible to create an empty directory when > installing from a pkg tarball? > > I ran into this problem with the phpMyAdmin port, and the only good > way I found to solve it was to add a stub file into any empty > directories. You could use a post install script or an mtree file, > but that seems like overkill for such a trivial operation. If you want to create ${PREFIX}/somedir you can add this line to pkg-plist: @exec mkdir -p %D/somedir