[Poppler-bugs] [Bug 80250] Fix moc-qt5 detection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 19 13:43:08 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80250

--- Comment #7 from Hib Eris <hib at hiberis.nl> ---
(In reply to comment #6)
> sure, but who says that moc-qt5 can can return
> "moc 5.2"
> ?
> Is it that hard just adding your case to the regexp?

No, it is not hard, but it would be adding a workaround instead of fixing a
bug.

I've just tested my moc-qt5 by renaming in to 'foo', and then it gives:

$ foo -v
foo 5.2.1

So it is just returning the command name and the moc version number.

In the configure script we are looking for a command (xxx-)moc-qt5, so that
will return (xxx-)moc-qt5 5.2.1, which will never match 'moc 5'. Matching with
'moc 5' is wrong. In my opinion it is better to fix that by matching with
'moc-qt5 5' instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140619/b6603f72/attachment.html>


More information about the Poppler-bugs mailing list