summaryrefslogtreecommitdiff
path: root/lang/llvm
diff options
context:
space:
mode:
authorbrook <brook>2017-01-16 17:26:47 +0000
committerbrook <brook>2017-01-16 17:26:47 +0000
commit9f2177ecb467353578f5bf0636f3c6236208d22a (patch)
treeed6d6e77d8190b5bd8ba59eea4df19cd41426f33 /lang/llvm
parent3f022323ecdfdd33f5cf875202c3b6ae0070868a (diff)
downloadpkgsrc-9f2177ecb467353578f5bf0636f3c6236208d22a.tar.gz
Use the system-specific libtool on Darwin.
This fixes bugs relating to unrecognized libtool options on Darwin.
Diffstat (limited to 'lang/llvm')
-rw-r--r--lang/llvm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile
index 5c2886ac378..b351b5a6400 100644
--- a/lang/llvm/Makefile
+++ b/lang/llvm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/01/05 11:54:32 adam Exp $
+# $NetBSD: Makefile,v 1.13 2017/01/16 17:26:47 brook Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@@ -33,6 +33,8 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
CMAKE_ARGS+= -DLLVM_INSTALL_UTILS=ON
+CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool
+
CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm
# XXX perl is not added as a tool as it does not seem to be required