Created attachment 151904 [details] make pdftoppm depend on X11 Trying to build graphics/xpdf without X11 results in the following error: install -s -o root -g wheel -m 555 xpdf/pdftoppm /usr/ports/graphics/xpdf/work/stage/usr/local/libexec/xpdf/pdftoppm install: xpdf/pdftoppm: No such file or directory Makefile:85: recipe for target 'install' failed gmake[2]: *** [install] Error 71 gmake[2]: Leaving directory '/usr/ports/graphics/xpdf/work/xpdf-3.04' *** Error code 2 Stop. make[1]: stopped in /usr/ports/graphics/xpdf *** Error code 1 Stop. make: stopped in /usr/ports/graphics/xpdf Since pdftoppm depends on X, it should only be build and installed when X11 support is enabled. The attached patch tries to address that. Maybe files/patch-Makefile.in could be omitted completely since it is a noop now.
Auto-assigned to maintainer cy@FreeBSD.org
Created attachment 151905 [details] 2nd patch, regarding the manpage of pdftoppm in pkg-plist
Created attachment 151909 [details] Build pdftoppm in all-no-x target. I'll commit this patch at noon (PST) today.
A commit references this bug: Author: cy Date: Tue Jan 20 19:14:07 UTC 2015 New revision: 377531 URL: https://svnweb.freebsd.org/changeset/ports/377531 Log: pdftoppm was not built in all-no-x target. Fix this. PR: PR/196932 Changes: head/graphics/xpdf/Makefile head/graphics/xpdf/files/patch-xpdf__Makefile.in
Fixed by r377531.