textproc/groff: Fix build/packaging with URWFONTS disabled

With URWFONTS disabled, the groff build fails:

pdfroff: installation problem: cannot find GhostScript interpreter

*** FATAL INSTALLATION ERROR ***

'pdfroff' requires a GhostScript interpreter to convert PostScript to PDF.
Since you do not appear to have one installed, 'pdfroff' connot continue.

This change provides configure with a more explicit argument to disable
ghostscript, vs the CONFIGURE_ENV method [1] introduced in ports 499077
after ports r499075 introduced the option.

Update pkg-plist to mark files not conditional on this option.

PR:		237615
Submitted by:	<fullermd over-yonder net> [1]
Approved by:	portmgr (blanket: build fix, just fix it)
MFH:		no (not affected)
This commit is contained in:
Kubilay Kocak 2019-05-22 09:34:50 +00:00
parent 957bdf2b6f
commit 6c76240c45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502263
2 changed files with 8 additions and 9 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= groff
PORTVERSION= 1.22.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= GNU
@ -56,10 +56,9 @@ DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
EXAMPLESDIR= ${DOCSDIR}/examples
URWFONTS_CONFIGURE_OFF= --without-urw-fonts-dir
URWFONTS_CONFIGURE_OFF= --without-urw-fonts-dir --without-gs
URWFONTS_USES= ghostscript:build
URWFONTS_BUILD_DEPENDS= gsfonts>=0:print/gsfonts
URWFONTS_CONFIGURE_ENV_OFF= ac_cv_prog_ac_ct_GHOSTSCRIPT=false
OPTIONS_SUB= yes
.include <bsd.port.options.mk>

View File

@ -216,16 +216,16 @@ man/man7/roff.7.gz
%%EXAMPLESDIR%%/mom/elvis_syntax
%%EXAMPLESDIR%%/mom/elvis_syntax.new
%%EXAMPLESDIR%%/mom/letter.mom
%%EXAMPLESDIR%%/mom/letter.pdf
%%URWFONTS%%%%EXAMPLESDIR%%/mom/letter.pdf
%%EXAMPLESDIR%%/mom/mom-pdf.mom
%%EXAMPLESDIR%%/mom/mom-pdf.pdf
%%URWFONTS%%%%EXAMPLESDIR%%/mom/mom-pdf.pdf
%%EXAMPLESDIR%%/mom/mom.vim
%%EXAMPLESDIR%%/mom/penguin.pdf
%%EXAMPLESDIR%%/mom/penguin.ps
%%EXAMPLESDIR%%/mom/sample_docs.mom
%%EXAMPLESDIR%%/mom/sample_docs.pdf
%%URWFONTS%%%%EXAMPLESDIR%%/mom/sample_docs.pdf
%%EXAMPLESDIR%%/mom/typesetting.mom
%%EXAMPLESDIR%%/mom/typesetting.pdf
%%URWFONTS%%%%EXAMPLESDIR%%/mom/typesetting.pdf
%%HTMLDOCS%%%%EXAMPLESDIR%%/webpage-1.html
%%HTMLDOCS%%%%EXAMPLESDIR%%/webpage-10.html
%%HTMLDOCS%%%%EXAMPLESDIR%%/webpage-11.html
@ -349,8 +349,8 @@ man/man7/roff.7.gz
%%DOCSDIR%%/meintro_fr.ps
%%DOCSDIR%%/meref.me
%%DOCSDIR%%/meref.ps
%%DOCSDIR%%/pdf/mom-pdf.pdf
%%DOCSDIR%%/pdf/pdfmark.pdf
%%URWFONTS%%%%DOCSDIR%%/pdf/mom-pdf.pdf
%%URWFONTS%%%%DOCSDIR%%/pdf/pdfmark.pdf
%%DOCSDIR%%/pic.ms
%%DOCSDIR%%/pic.ps
%%DATADIR%%/eign