New version of the fakeroot patch

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Dec 15 10:49:32 UTC 2009


Tijl Coosemans wrote:
> 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

Or I could do that, yes.  Hmmm... must try that actually, along with a
few other mods I have lined up.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091215/b85cdf20/signature.pgp


More information about the freebsd-ports mailing list