On Saturday, March 30, 2002, at 11:01 PM, Chris Zubrzycki wrote:
> I know this already, but that begs another question: if there is no 
> configure script, and the install/lib locations are hardcoded into the 
> makefile/make script, how would I go about changing them so they are 
> compatible with any fink install? I got a bunch of tarballs that were 
> requested on the trquest tracker, and many of them do not use 
> automake/autoconf. Do I need to write a custom automake script for each 
> package?

Replace the install prefix with @PREFIX@. In the .info file:
PatchScript: sed -e 's:@PREFIX@:%p' < %a/%f.patch | patch -p1
will turn the @PREFIX@ into the correct install prefix and run patch.


--
Alexander Strange | [EMAIL PROTECTED]
-
The limerick, a verse form iniquitous,
Has nonetheless been ubiquitous.
         Once Congress in session,
         Declared its suppression,
But people got around that by writing the last line with no rhyme or 
meter.


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to