pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure: multimedia/gstreamer0.10



Steven M. Bellovin schrieb:
> Argument "^B^D^A" isn't numeric in numeric lt (<) at - line 1.

Maybe the GNOME developers thought that Perl could compare version
numbers easily -- I expected that too. The code they are using is:

    perl -we 'exit(2.4.1 < 1.875 ? 0 : 1)'; echo $?

The correct code to do that is the following:

    perl -we 'exit(v2.4.1 lt v1.1875 ? 0 : 1)'; echo $?

Roland


Home | Main Index | Thread Index | Old Index