diff options
Diffstat (limited to 'lang/llvm/Makefile')
-rw-r--r-- | lang/llvm/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index 8fa0125d769..6ebab1e8258 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2017/03/17 22:38:17 adam Exp $ +# $NetBSD: Makefile,v 1.16 2017/03/19 19:01:48 adam Exp $ # # when updating this, please also update: # devel/include-what-you-use @@ -11,6 +11,7 @@ DISTNAME= llvm-4.0.0.src PKGNAME= ${DISTNAME:S/.src//} +PKGREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz @@ -31,7 +32,10 @@ CMAKE_ARG_PATH= ${WRKSRC} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ +CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON +CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF CMAKE_ARGS+= -DLLVM_INSTALL_UTILS=ON +CMAKE_ARGS+= -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool @@ -100,16 +104,6 @@ CXXFLAGS+= -std=c++11 CXXFLAGS+= -march=i586 .endif -.if ${OPSYS} == "Darwin" -.PHONY: fix-darwin-install-name -post-install: fix-darwin-install-name -fix-darwin-install-name: -. for lib in BugpointPasses LLVMHello libLTO - install_name_tool -id ${PREFIX}/lib/${lib}.${SOEXT} \ - ${DESTDIR}${PREFIX}/lib/${lib}.${SOEXT} -. endfor -.endif - .include "options.mk" # replacing config.guess is required even for cmake. |