Fix: The result is similar to http://lists.freedesktop.org/archives/poppler/2012-July/009417.html Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to the maintainer.
I've get in touch with this bug while testing PR/171571. The errror message is: ----- /usr/local/include/poppler/goo/gmem.h:29:36: error: poppler/poppler-config.h: No such file or directory ----- The code of gmem.h:29: ----- #include "poppler/poppler-config.h" ----- And poppler.pc has this line: ----- % tail -1 /usr/local/libdata/pkgconfig/poppler.pc Cflags: -I${includedir}/poppler ----- From poppler.pc it is clear that includedir already contains subdir "poppler" and it should not be used at gmem.h header. Clearly it's a bug and it was fixed at poppler-0.20.
The reinplace command should be unconditioned. The correct patch is attached.
Author: kwm Date: Tue Sep 25 22:06:42 2012 New Revision: 304864 URL: http://svn.freebsd.org/changeset/ports/304864 Log: Unify poppler-config.h includes in poppler header. PR: ports/171877 Submitted by: bsam@ Obtained from: poppler upstream, Bug 52193 Modified: head/graphics/poppler/Makefile Modified: head/graphics/poppler/Makefile ============================================================================== --- head/graphics/poppler/Makefile Tue Sep 25 21:57:13 2012 (r304863) +++ head/graphics/poppler/Makefile Tue Sep 25 22:06:42 2012 (r304864) @@ -8,7 +8,7 @@ PORTNAME= poppler PORTVERSION= 0.18.4 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= graphics print MASTER_SITES= http://poppler.freedesktop.org/ @@ -111,6 +111,9 @@ post-patch: @${REINPLACE_CMD} -e 's|MOCQT4=`.*|MOCQT4="${LOCALBASE}/bin/moc-qt4"|' \ ${WRKSRC}/configure .endif + # A fix for bug 52193 (fixed upstream at poppler-0.20) + @${REINPLACE_CMD} -e 's:poppler/poppler-config.h:poppler-config.h:' \ + ${WRKSRC}/goo/*.h ${WRKSRC}/splash/*.h post-install: .if defined(SLAVEPORT) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed thanks!