mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
Replace %%DATADIR%% in patched scan-build.
PR: ports/187193, ports/187243 Submitted by: Li-Wen Hsu <lwhsu@FreeBSD.org>
This commit is contained in:
parent
eb60a8b49e
commit
53d50fb241
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347084
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= clang
|
||||
DISTVERSION= 3.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= lang devel
|
||||
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
||||
PKGNAMESUFFIX= ${LLVM_SUFFIX}
|
||||
@ -102,6 +102,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/Intrinsics.gen \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user