Date: Tue, 6 May 2014 16:59:07 +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: r353107 - head/devel/llvm-devel Message-ID: <201405061659.s46Gx7hh016629@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> .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 <bsd.port.pre.mk> +.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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405061659.s46Gx7hh016629>