Subject: Re: problems with name dependencies in a package
To: Jon Buller <jon@bullers.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 02/14/2002 17:41:49
On Thu, 14 Feb 2002, Jon Buller wrote:
> ${LN} -s ${PREFIX}/bin/${PROGRAM_PREFIX}patch ${PREFIX}/libexec/arch/arch/patch
> 
> Is that the right thing to do? 

Probably not as I expect you need to change all the scripts to find that
"patch" binary. You could DTRT in the first place then. 


> I'm worried a little that ${PREFIX}
> might have changed between the install of patch and the install of
> arch. 

If anything, you want to use LOCALBASE (or X11BASE) to get to other
packages - PREFIX is strictly for *this* page (being installed/built right
now). That aside, we do not support changing LOCALBASE/X11BASE.


> Also, is ${PROGRAM_PREFIX} the right way to get the g in
> gpatch?

Probably not - if anything, it's active in the devel/patch pkg, but not in
yours. I'd hardcode "gpatch".


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/