Subject: Re: overwriting part of a package with another?
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Min Sik Kim <minskim@NetBSD.org>
Date: 04/11/2006 14:42:56
On Feb 20, 2006, at 10:54 AM, Antoine Reilles wrote:
> On Mon, Feb 20, 2006 at 02:24:47PM -0500, Steven M. Bellovin wrote:
>> I'm putting together a package for 'powerdot', a LaTeX presentation
>> package. However, it requires a newer version of the xkeyval macro
>> package than occurs in teTeX3. What is the best way to handle that?
>> We do have the latest version of teTeX, so it's not just a matter of
>> waiting for an update.
> I don't think we currently have something to solve this issue.
> However, the tex.buildlink3.mk stuff could help to make it easier.
> Currently, we install all tex files in the same texmf tree. Since
> tetex3, it is possible to split this tree, by using
> texmf-dist (for the tetex distributed files), texmf and texmf-local
> additional packages.
> mk/tex.buildlink3.mk defines PKG_LOCALTEXMFPREFIX and PKG_TEXMFPREFIX
> as being equal. For tetex3, i want to separate them, to allow the
> installation in PKG_LOCALTEXMFPREFIX of newer versions and additional
> packages. However, it will require some testing to get this working
Now teTeX3 installs the texmf tree in share/texmf-dist, and all tex-*
packages install their files into share/texmf-local. Since texmf-
local precedes texmf-dist in teTeX's search order, individual
packages will override those included in teTeX3.
So, to use a newer version of xkeyval in powerdot, just create tex-
xkeyval and tex-powerdot packages, and let the latter depend on the
Min Sik Kim