On Thursday 02 April 2009 14:29:21 Lukas Oboril wrote:
> I don't think so ... there must be another reason for that issue.

The point is that if you have neither CBEflex nor SUNWflexlex installed, then 
unixodbc doesn't build the ctxt library; that's all. There is no flex listed 
as a build requirement for unixodbc, so nothing in pkgtool stops you from 
trying that.

One-line fix:

BuildRequires: %depend_flex

Hidden costs of that one line fix:

%if this-cbe-has-cbeflex
%define depend_flex CBEflex
%else
%define depend_flex SUNWflexlex
%endif

-- 
Adriaan de Groot - Vice President, KDE e.V. (Legal Affairs)
                 - http://ev.kde.org/

Reply via email to