On 6/11/12 3:53 PM, Peter Dyballa wrote:
> 
> Am 11.06.2012 um 17:52 schrieb Alexander Hansen:
> 
>> Type: v (6.7.7)
> 
> This does not seem to work...
> 
> I start with:
> 
>     1 Info2: <<
>     2 Package: imagemagick%type_pkg[-nox]
>     3 Type: -nox .
>     4 Version: 6.7.7-6
>     5 Revision: 2
>     6 Type: u (1.2.3)         # hack to remove the sub-version number from %v
>     7 Source: mirror:sourceforge:imagemagick/ImageMagick-%v.tar.xz
>     8 Source-MD5: 45271a41b86f34b30046e2e50e9183bc
>     9 SourceDirectory: ImageMagick-%v
> 
> and fink then complains:
> 
>       WARNING: Repeated occurrence of field "type" at line 5 of info2 of 
> "/sw/fink/dists/local/main/finkinfo/imagemagick.info".
>       Use of uninitialized value $filename in concatenation (.) or string at 
> /sw/lib/perl5/Fink/PkgVersion.pm line 1988.
>       Bad Type specifier 'u 1.2.3             # hack to remove the 
> sub-version number from %v' in 
>       Error performing percent expansion: unknown % expansion or nesting too 
> deep: "imagemagick%type_pkg[-nox]" 
> (/sw/fink/dists/local/main/finkinfo/imagemagick.info "package")
>       Skipping /sw/fink/dists/local/main/finkinfo/imagemagick.info
> 
> It seems the comment is not honoured, at least in the output the comment 
> seems to belong to the value I try to set the variable to...
> 
> --
> Greetings
> 
>   Pete
> 
> Engineer: a mechanism for converting caffeine into designs
> 
>

No, all of the Types have to be declared in exactly one Type: field and
on exactly one line.

Check octave-3.6.2.info for an example.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to