aboutsummaryrefslogtreecommitdiff
path: root/lang/clang33/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-07-10 11:27:36 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-07-10 11:27:36 +0000
commit831af9a6e70323fd3b5f6caf1f4872774a8d0048 (patch)
tree4868cff9e16e34a8f49d1a42e566019b6a2936fd /lang/clang33/Makefile
parent7c1648352c72d757cdd83d5a81e5ac4af92ed894 (diff)
downloadports-831af9a6e70323fd3b5f6caf1f4872774a8d0048.tar.gz
ports-831af9a6e70323fd3b5f6caf1f4872774a8d0048.zip
Notes
Diffstat (limited to 'lang/clang33/Makefile')
-rw-r--r--lang/clang33/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile
index b99ff6485278..0dfff7e88819 100644
--- a/lang/clang33/Makefile
+++ b/lang/clang33/Makefile
@@ -2,6 +2,7 @@
PORTNAME= clang
DISTVERSION= 3.3
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
DISTNAME= ${CLANG_NAME}
@@ -93,6 +94,8 @@ post-patch:
${WRKSRC}/Makefile.config.in
${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
${WRKSRC}/Makefile.config.in
+ ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
+ ${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
pre-build:
${LN} -sf ${LLVM_PREFIX}/include/llvm/IR/Intrinsics.gen \