svn commit: r473461 - head/lang/swift

Adam Weinberger adamw at FreeBSD.org
Wed Jun 27 22:18:33 UTC 2018


Author: adamw
Date: Wed Jun 27 22:18:32 2018
New Revision: 473461
URL: https://svnweb.freebsd.org/changeset/ports/473461

Log:
  Put sphinx-build behind DOCS options, rather than bringing it in unconditionally
  
  PR:		229369
  Approved by:	maintainer (swills)

Modified:
  head/lang/swift/Makefile

Modified: head/lang/swift/Makefile
==============================================================================
--- head/lang/swift/Makefile	Wed Jun 27 21:17:28 2018	(r473460)
+++ head/lang/swift/Makefile	Wed Jun 27 22:18:32 2018	(r473461)
@@ -16,7 +16,6 @@ LICENSE_FILE=	${WRKSRC}/swift/LICENSE.txt
 BUILD_DEPENDS=	cmake:devel/cmake \
 		bash:shells/bash \
 		swig3.0:devel/swig30 \
-		sphinx-build:textproc/py-sphinx \
 		binutils>=2.25.1:devel/binutils
 LIB_DEPENDS=	libicudata.so:devel/icu \
 		libuuid.so:misc/e2fsprogs-libuuid \
@@ -49,6 +48,8 @@ CONFLICTS_BUILD=	googletest
 LDFLAGS+=	-lobjc
 
 OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
+DOCS_CMAKE_BOOL=	SWIFT_INCLUDE_DOCS
 
 PORTDOCS=	*
 


More information about the svn-ports-all mailing list