-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/4/11 9:36 AM, bpabbott wrote:
> On Feb 03, 2011, at 05:50 PM, Martin Costabel <[email protected]> wrote:
> 
>> On 3/02/11 19:26, Alexander Hansen wrote:
>> []
>> > Unfortunately, Sourceforge CVS is down, so the best that can be done
>> > right now is to come up with a solution that you can apply locally. I
>> > don't have one as of yet, however. :-) Martin will probably come up
>> > with something shortly.
>>
>> As you say, I can't fix it right now. But if you are willing to edit the
>> freefem++.info file, you can add the following line to the PatchScript,
>> which will make the build go through:
>>
>> /usr/bin/sed -i"" -e '1s,.*,\\usepackage{ifpdf},;2,12d' DOC/styles.sty
>>
>> (this is one line)
>>
>> -- 
>> Martin
>  
> I copied freefem++.info and freefem++.patch from the unstable branch to
> the local one ...
> 
> /sw/fink/10.4/local/main/finkinfo/sci

Having a section is optional, and harmless.  You can just use
local/main/finkinfo, if desired.

> 
> ... and made the the line below to the patch script in freefem++.info.
> 
> /usr/bin/sed -i"" -e '1s,.*,\\usepackage{ifpdf},;2,12d' DOC/styles.sty
> 
> I also incremented the Revision field in freefem++.info to make sure the
> local version superseded the unstable one.
> 
> After indexing the packages, I am able to build.
> 
> $ fink index
> $ fink install freefem++
> 
> Thanks,
> Ben
> 

When incrementing the Revision, you don't necessarily have to leave it
an integer or even numeric:  you can make it e.g. 4.a or 4.5 .

Also, if you have local/main at the _end_ of the Trees list in fink.conf
it will automatically take precedence at the same revision--the priority
of those entries is reverse order.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1MEs8ACgkQB8UpO3rKjQ95ygCeJRxZFBcg2vupOlFupOIfCICh
CPwAnjALEeJNU0t7W5OW9WDz731v3uf5
=zH6E
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to