diff options
author | brooks <brooks@FreeBSD.org> | 2014-03-05 07:04:41 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-03-05 07:04:41 +0800 |
commit | 3e40a7201b2019b7ec7f48afb76a72304e0280d2 (patch) | |
tree | d1045b32684628a4875aaec9a89b38fb5550a95d /lang/clang33/Makefile | |
parent | 9d8154754b0f67219a9cd4b8c50e1e33d0be15b7 (diff) | |
download | freebsd-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/clang33/Makefile')
-rw-r--r-- | lang/clang33/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index ee2bd68adf4f..3800db7ed215 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -2,7 +2,7 @@ PORTNAME= clang DISTVERSION= 3.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -103,6 +103,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 \ |