Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 21:20:06 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491658 - head/devel/llvm-cheri
Message-ID:  <201901302120.x0ULK6rA080223@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Wed Jan 30 21:20:06 2019
New Revision: 491658
URL: https://svnweb.freebsd.org/changeset/ports/491658

Log:
  Fix DOCS build.
  
  Add LICENSE info.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/devel/llvm-cheri/Makefile

Modified: head/devel/llvm-cheri/Makefile
==============================================================================
--- head/devel/llvm-cheri/Makefile	Wed Jan 30 20:42:44 2019	(r491657)
+++ head/devel/llvm-cheri/Makefile	Wed Jan 30 21:20:06 2019	(r491658)
@@ -2,13 +2,15 @@
 
 PORTNAME=	llvm
 PORTVERSION=	${LLVM_MAJOR}.0.d${SNAPDATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel lang
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
 
 MAINTAINER=	brooks@FreeBSD.org
 COMMENT=	LLVM and Clang with support for the CHERI architecture
 
+.include "${.CURDIR}/../llvm-devel/Makefile.LICENSE"
+
 BROKEN_powerpc64=	Does not build
 
 LLVM_SUFFIX?=	-cheri
@@ -71,7 +73,12 @@ LLDB_BINARY_ALIAS=	swig=swig3.0
 LLDB_GH_PROJECT=	lldb:lldb
 LLDB_GH_TAGNAME=	${LLDB_COMMIT}:lldb
 
-DOCS_BUILD_DEPENDS=		sphinx-build:textproc/py-sphinx
+DOCS_BUILD_DEPENDS=	sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR}
+DOCS_CMAKE_ON=		-DLLVM_ENABLE_SPHINX=ON \
+			-DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \
+			-DSPHINX_WARNINGS_AS_ERRORS=OFF \
+			-DLLVM_BUILD_DOCS=ON
 
 PLIST_SUB+=	COMMAND_SUFFIX=${COMMAND_SUFFIX} \
 		LLVM_MAJOR=${LLVM_MAJOR} \
@@ -160,6 +167,7 @@ COMMANDS+=	clang \
 MAN1SRCS+=	clang.1 \
 		diagtool.1
 DOCS_PLIST_FILES+=	man/man1/scan-build${LLVM_SUFFIX}.1.gz
+USES+=		gnome
 .endif
 
 .if ${PORT_OPTIONS:MLIT}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901302120.x0ULK6rA080223>