mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Make BUILD_DEPENDS on texi2html conditionally (only if DOCS is selected)
PR: 199642 Submitted by: rs@bytecamp.net
This commit is contained in:
parent
343828cd56
commit
b9a3d2c9f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385084
@ -15,8 +15,7 @@ LICENSE= GPLv2 LGPL21
|
||||
LICENSE_COMB= multi
|
||||
|
||||
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \
|
||||
${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils \
|
||||
texi2html:${PORTSDIR}/textproc/texi2html
|
||||
${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_LOG= config.err
|
||||
@ -268,9 +267,14 @@ CONFIGURE_ARGS+=--prefix="${PREFIX}" \
|
||||
DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \
|
||||
README.md RELEASE_NOTES
|
||||
# under doc subdirectory
|
||||
DOC_DOCFILES= APIchanges *.txt *.html
|
||||
DOC_DOCFILES= APIchanges *.txt
|
||||
PORTDOCS= *
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DOC_DOCFILES+= *.html
|
||||
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
CONFIGURE_ARGS+= --disable-stripping
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user