On Monday 22 June 2009 02:15:32 pm hajma wrote:
> so it seems it's hardcoded there because some of the platform detection in
> the specs doesn't work. In order to proceed on S10/nevada one has to
> remove/modify these

It would be best to auto-detect the OS. Basically something along the lines of

%if %(shell test "111b" = `uname -r` && echo 1 || echo 0)
%define %_with_osol 1
%else
%if %(shell test ...
%endif
%endif

If we can figre out a decent mapping of uname output to desired platform build 
(or find another way to detect OSOL). The hard-coded bits in there were because 
I was intending to move the -42 repo to IPS packagqes (only). 

[ade]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20090624/70f50081/attachment.bin>

Reply via email to