can't build /graphics/poppler-qt after recent cvsup

John Nielsen lists at jnielsen.net
Tue Jul 3 20:10:07 UTC 2007


[cc-ing gnome@ as port maintainer]

On Tuesday 03 July 2007 03:52:22 pm Dan Nelson wrote:
> In the last episode (Jul 03), epf1 at cec.wustl.edu said:
> > I'm having an odd proble getting poppler-qt to build after my latest
> > cvsup.
> >
> > I use portmanager to update my ports and when I ran it today I got the
> > following failure as the poppler-qt port was doing it's configure:
> >
> > ---Snip------
> > checking for Qt headers... /usr/local/include
> > checking for Qt libraries... /usr/local/lib
> > test: xyes: unexpected operator
> > configure: error: Qt development libraries not found
>
> It looks like QT's autoconf test is buggy.
> work/poppler-0.5.4/configure script, line 25757:
>
> if test "x$have_qt4" == "xyes"; then
>
> "==" is not a valid comparison operator for the test command.  It must
> be "=".

I was having the same problem as the OP. After Dan's post I did a "make 
patch", then modified the configure script replacing two instances of == with 
= on these two lines:

25851:if test "x$have_qt" == "xyes"; then
26033:if test "x$have_qt" == "xyes"; then

After that I was able to make and install the port.

gnome@ folks, should I submit a PR or will you guys just take this upstream 
directly?

JN


More information about the freebsd-questions mailing list