svn commit: r385084 - head/multimedia/ffmpeg
Thomas Zander
riggs at FreeBSD.org
Fri May 1 06:54:19 UTC 2015
Author: riggs
Date: Fri May 1 06:54:17 2015
New Revision: 385084
URL: https://svnweb.freebsd.org/changeset/ports/385084
Log:
Make BUILD_DEPENDS on texi2html conditionally (only if DOCS is selected)
PR: 199642
Submitted by: rs at bytecamp.net
Modified:
head/multimedia/ffmpeg/Makefile
Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile Fri May 1 04:29:36 2015 (r385083)
+++ head/multimedia/ffmpeg/Makefile Fri May 1 06:54:17 2015 (r385084)
@@ -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
More information about the svn-ports-all
mailing list