mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Fix scan-build by actually replacing %%DATADIR%%.
PR: ports/151344 Submitted by: Matthias Andree <matthias.andree at gmx.de>
This commit is contained in:
parent
bac710ec1e
commit
634a16f7f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262762
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= clang
|
||||
PORTVERSION= 2.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -83,6 +83,7 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
|
||||
${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
|
||||
-e 's|%%DATADIR%%|${DATADIR}|' \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/scan-build
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= clang
|
||||
PORTVERSION= 2.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -83,6 +83,7 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
|
||||
${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
|
||||
-e 's|%%DATADIR%%|${DATADIR}|' \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/scan-build
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= clang
|
||||
PORTVERSION= 2.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -83,6 +83,7 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
|
||||
${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
|
||||
-e 's|%%DATADIR%%|${DATADIR}|' \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
|
||||
${WRKSRC}/tools/clang/tools/scan-build/scan-build
|
||||
|
Loading…
Reference in New Issue
Block a user