From owner-svn-ports-all@FreeBSD.ORG Tue May 6 16:59:07 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA1A745B; Tue, 6 May 2014 16:59:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AE60A07; Tue, 6 May 2014 16:59:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s46Gx7St016630; Tue, 6 May 2014 16:59:07 GMT (envelope-from brooks@svn.freebsd.org) Received: (from brooks@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s46Gx7hh016629; Tue, 6 May 2014 16:59:07 GMT (envelope-from brooks@svn.freebsd.org) Message-Id: <201405061659.s46Gx7hh016629@svn.freebsd.org> From: Brooks Davis Date: Tue, 6 May 2014 16:59:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353107 - head/devel/llvm-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 16:59:07 -0000 Author: brooks Date: Tue May 6 16:59:07 2014 New Revision: 353107 URL: http://svnweb.freebsd.org/changeset/ports/353107 QAT: https://qat.redports.org/buildarchive/r353107/ Log: Make PREFIX clean. Use more bsd.options.mk features. Mark broken prior to 9.0 due to bizzare errors from gcc on 8.4. Modified: head/devel/llvm-devel/Makefile Modified: head/devel/llvm-devel/Makefile ============================================================================== --- head/devel/llvm-devel/Makefile Tue May 6 16:39:36 2014 (r353106) +++ head/devel/llvm-devel/Makefile Tue May 6 16:59:07 2014 (r353107) @@ -45,6 +45,16 @@ LTOPLUGIN_DESC= Build LTO plugin (requir OPTIONS_DEFAULT= CMAKE LIT MANPAGES OPTIONS_SUB= yes +ASSERTS_CONFIGURE_ENABLE= assertions +CMAKE_BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake +DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx +DOCS_CONFIGURE_ENABLE= docs +LTOPLUGIN_BUILD_DEPENDS= ld.gold:${PORTSDIR}/devel/binutils +LTOPLUGIN_RUN_DEPENDS= ld.gold:${PORTSDIR}/devel/binutils +LTOPLUGIN_CONFIGURE_ON= --with-binutils-include=${LOCALBASE}/include +LTOPLUGIN_PLIST_FILES= llvm${LLVM_SUFFIX}/lib/LLVMgold.so +MANPAGES_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx + LLVM_RELEASE= ${PORTVERSION:C/\.r[0-9]*//} PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} @@ -85,28 +95,15 @@ STRIP_LIBS= BugpointPasses.so \ .include .if ${PORT_OPTIONS:MASSERTS} -CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else -CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} -BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake PORTDATA+= cmake .endif -.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} -BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx -.endif - -.if ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --enable-docs -.else -CONFIGURE_ARGS+= --disable-docs -.endif - .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USE_PYTHON= yes @@ -115,13 +112,6 @@ LIT_COMMANDS= lit llvm-lit FileCheck USE_PYTHON_BUILD= yes .endif -.if ${PORT_OPTIONS:MLTOPLUGIN} -BUILD_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils -RUN_DEPENDS+= ld.gold:${PORTSDIR}/devel/binutils -CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include -PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so -.endif - .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ @@ -133,6 +123,10 @@ PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|: .include +.if ${OSVERSION} < 900000 +BROKEN= GCC failing on 8.x +.endif + .if !defined(SVN_REV) .if defined(BOOTSTRAP) LANG= "C" @@ -232,9 +226,9 @@ post-install: ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} - ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} + ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ - ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \