Summary: | textproc/groff: install fails when graphics/netpbm is installed but X11 not selected | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Helge Oldach <freebsd> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | bapt, freebsd, olli, rozhuk.im |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Helge Oldach
2019-05-25 13:10:14 UTC
.if exists(${LOCALBASE}/bin/pnmcut) && exists(${LOCALBASE}/bin/pnmcrop) && \ exists(${LOCALBASE}/bin/pnmtops) && exists(${LOCALBASE}/bin/pnmtopng) PLIST_SUB+= HTMLDOCS="" .else PLIST_SUB+= HTMLDOCS="@comment " .endif this check should be removed, and leave only: PLIST_SUB+= HTMLDOCS="@comment " This problem affects me, too, on several machines. It still exists in the ports tree today (2019-08-30). It happens when these two conditions are met: - The X11 option is DISABLED. - graphics/netpbm is already installed. In that case the textproc/groff port tries to install the HTML docs without building them first, leading to the failure described by the reporter above. This needs to be fixed. I don't think the situation is very uncommon. As a workaround I've appended the following lines to /etc/make.conf: .if ${.CURDIR:M*/ports/textproc/groff} PLIST_SUB+= HTMLDOCS="@comment " .endif The X11 dependency is totally gone and netpbm has been removed from the dependency list in favor of an optional dependency (to the user convenience). That should address your issue. |