On Sat, Aug 13, 2005 at 09:50:58AM +0200, Matthias Kurz wrote:
> On Fri, Aug 12, 2005, Doug Summers wrote:
>
> > Is it possible to pass --define switches besides with_something=yes/no?
> > I have some packages on AIX that I want to use IBM's compiler but I
> > don't know how to pass it to openpkg build. For example, I'd like to do
> > this:
> >
> > openpkg build --define="l_cc /usr/vacpp/bin/xlc_r" --define="l_cxx
> > /usr/vacpp/bin/xlC_r" gtk
>
> Not that i know. I guess you know about $HOME/.openpkg/rpmmacros and
> want to override the settings only for one package (gtk) ?
openpkg build -Duse_cc=/usr/vacpp/bin/xlc_r -Duse_cxx=/usr/vacpp/bin/xlC_r gtk
should do the trick. The use_XXX Macros are used in %{l_tool_locate xxx}
to locate several standard binaries.
--
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]