On Wed, Mar 03, 2004 at 08:14:51PM +0100, Olivier Kaloudoff wrote:
> 
>       So modified the "CompileScript" part of libtiff.info
> file, to look like this
> 
> CompileScript: <<
> PATH=/opt/ibmcmp/vac/6.0/bin/:/opt/ibmcmp/vacpp/6.0/bin/:$PATH
>  ./configure --with-CC=xlc --noninteractive 
>  (export DESTDIR=%d; make)
> <<

By default he *Script fields are handled one line at a time; the whole
field is not run as a shell script. That means the PATH you set in the
first line does not carry through to the second line.Check the
Fink Packaging Manual section 5.4 for more info.

According to the Fink Packaging MAnual documentation on *Script fields:

  "the commands are executed via system(), one line at a time, so
  setting variables [...] only affects commands on that same line."

Visit http://fink.sourceforge.net/doc/packaging/reference.php#scripts
to learn more.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to