diff options
author | brooks <brooks@FreeBSD.org> | 2010-10-10 21:05:16 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2010-10-10 21:05:16 +0800 |
commit | e12075419fac88a37022105bfdd4d6ee4e1e9bf4 (patch) | |
tree | 2cc010d8f6cd7485eda09d49538453e5dcc0d332 /lang/clang-devel | |
parent | 173e51ff7bf9b0ec384550e128c9bf3589190b89 (diff) | |
download | freebsd-ports-gnome-e12075419fac88a37022105bfdd4d6ee4e1e9bf4.tar.gz freebsd-ports-gnome-e12075419fac88a37022105bfdd4d6ee4e1e9bf4.tar.zst freebsd-ports-gnome-e12075419fac88a37022105bfdd4d6ee4e1e9bf4.zip |
Fix scan-build by actually replacing %%DATADIR%%.
PR: ports/151344
Submitted by: Matthias Andree <matthias.andree at gmx.de>
Diffstat (limited to 'lang/clang-devel')
-rw-r--r-- | lang/clang-devel/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile index c6a52b1f4050..8c7bcf22c614 100644 --- a/lang/clang-devel/Makefile +++ b/lang/clang-devel/Makefile @@ -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 |