Presumably you are trying to build postgis using the postgresql74 source tree
as well as the postgis tree.  Unfortunately, after postgresql74 was built,
its source tree was erased (unless the user took special action to prevent
this).  So what you'll need to do is to have

Version: 0.9.1
Source: path/to/postgresql74-7.4.6.tar.gz
Source2: path/to/postgis-%v.tar.gz

This will unpack postresql74 into your working build directory, and put
postgis into a subdirectory.  You can then do something like "mv postgis-%v 
contrib".  Or you can use

Source2ExtractDir: contrib

Note that you can access 0.9.1 as %v, but you'll have to supply 7.4.6 by hand.

  -- Dave



> From: Jonathan Greenberg <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: [Fink-devel] Specifying a version-specific folder name in .info files
> Date: Tue, 04 Jan 2005 01:43:32 -0800
> 
> One of the requirements for a package I'm trying to port to fink (PostGIS,
> an add-on to postgresql) is that it gets decompressed within the "contrib"
> folder of postgresql:
> 
> /sw/src/postgresql74-7.4.6-22/postgresql-7.4.6/contrib/
> 
> (e.g. A manual command to do what I want would be:
> sudo cp -R /sw/src/postgis-0.9.1-1/postgis-0.9.1/
> /sw/src/postgresql74-7.4.6-22/postgresql-7.4.6/contrib/
> )
> 
> Is there a trick to telling a fink .info file where to put this folder,
> (e.g. Is there any way for me to query a dependent package's version number?
> Can I use some sort of wildcard to bypass this?)
> 
> --j
> 
> -- 
> Jonathan A. Greenberg
> Ph.D., Ecology
> AIM: jgrn307 or jgrn3007
> MSN: [EMAIL PROTECTED] or [EMAIL PROTECTED]
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Fink-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-devel
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to