aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang34
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-03-05 07:04:41 +0800
committerbrooks <brooks@FreeBSD.org>2014-03-05 07:04:41 +0800
commit3e40a7201b2019b7ec7f48afb76a72304e0280d2 (patch)
treed1045b32684628a4875aaec9a89b38fb5550a95d /lang/clang34
parent9d8154754b0f67219a9cd4b8c50e1e33d0be15b7 (diff)
downloadfreebsd-ports-gnome-3e40a7201b2019b7ec7f48afb76a72304e0280d2.tar.gz
freebsd-ports-gnome-3e40a7201b2019b7ec7f48afb76a72304e0280d2.tar.zst
freebsd-ports-gnome-3e40a7201b2019b7ec7f48afb76a72304e0280d2.zip
Replace %%DATADIR%% in patched scan-build.
PR: ports/187193, ports/187243 Submitted by: Li-Wen Hsu <lwhsu@FreeBSD.org>
Diffstat (limited to 'lang/clang34')
-rw-r--r--lang/clang34/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/clang34/Makefile b/lang/clang34/Makefile
index 8f5a37cb1b1d..74acbd29e36f 100644
--- a/lang/clang34/Makefile
+++ b/lang/clang34/Makefile
@@ -2,7 +2,7 @@
PORTNAME= clang
DISTVERSION= 3.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@@ -109,6 +109,8 @@ post-patch:
${WRKSRC}/Makefile.config.in
${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}/|g' \
+ ${WRKSRC}/tools/clang/tools/scan-build/scan-build
pre-build:
${LN} -sf ${LLVM_PREFIX}/include/llvm/IR/Intrinsics.gen \