On Tue, Feb 24, 2004 at 12:10:32PM -0500, Zvezdan Petkovic wrote:

> LyX configure script looks for moc2 and moc only.
> On OpenBSD it happens to be moc3-mt.  And it never gets found.

Ugh. What a mess.

> The only way to have all of them in the same time is to call them
> differently (moc2, moc3, moc3-qt) and store the libraries in different
> places (/usr/local/lib/{qt3,qt2}).

It's an absurd way of doing it. If they had any sense we'd have
qt-config program that can give the exact details needed.

# ls -l /usr/bin/qt-config*
/usr/bin/qt-config -> /usr/bin/qt-config-3.2
/usr/bin/qt-config-3.2 -> /usr/bin/qt-config-mt-3.2
/usr/bin/qt-config-mt-3.2

with --moc, --uic options etc. *That's* sane. 

Anyway, we don't have that, so I suppose your patch is OK. It's clearly
preferable to hardcoding "moc3-mt" as another name to try anyway.

regards
john

-- 
"Spammers get STABBED by GOD." - Ron Echeverri

Reply via email to