aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-06-21 23:17:40 +0800
committerbrooks <brooks@FreeBSD.org>2013-06-21 23:17:40 +0800
commit8feeba699b3d173df7475cf76aba26097614259a (patch)
treee917b8cee3dee31dca519433e03c2021720f3502
parent3fa14f92a9acaa5077e7328ba1a429a8d33a039c (diff)
downloadfreebsd-ports-gnome-8feeba699b3d173df7475cf76aba26097614259a.tar.gz
freebsd-ports-gnome-8feeba699b3d173df7475cf76aba26097614259a.tar.zst
freebsd-ports-gnome-8feeba699b3d173df7475cf76aba26097614259a.zip
Upgrade Clang and LLVM 3.3 ports to the release version.
-rw-r--r--devel/llvm33/Makefile16
-rw-r--r--devel/llvm33/distinfo4
-rw-r--r--devel/llvm33/pkg-plist4
-rw-r--r--lang/clang33/Makefile19
-rw-r--r--lang/clang33/distinfo8
-rw-r--r--lang/clang33/files/patch-tools_clang_docs_Makefile13
-rw-r--r--lang/clang33/pkg-plist4
7 files changed, 34 insertions, 34 deletions
diff --git a/devel/llvm33/Makefile b/devel/llvm33/Makefile
index 02e9fb286957..5ae6188d5f24 100644
--- a/devel/llvm33/Makefile
+++ b/devel/llvm33/Makefile
@@ -1,23 +1,17 @@
# $FreeBSD$
PORTNAME= llvm
-DISTVERSION= 3.3rc3
+PORTVERSION= 3.3
CATEGORIES= devel lang
-MASTER_SITES= http://llvm.org/pre-releases/3.3/rc3/
-DISTNAME= llvm-source-${DISTVERSION}
+MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= brooks@FreeBSD.org
COMMENT= Low Level Virtual Machine
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
-.if defined(PACKAGE_BUILDING)
-BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
-.endif
-.if defined(MAINTAINER_MODE)
-BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
-.endif
-LLVM_SUFFIX= 33
+LLVM_SUFFIX= ${PORTVERSION:S/.//g}
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
LATEST_LINK= ${PORTNAME}${LLVM_SUFFIX}
@@ -30,8 +24,6 @@ USE_PERL5= yes
USE_PYTHON_BUILD= yes
MAKE_JOBS_SAFE= yes
-WRKSRC= ${WRKDIR}/llvm.src
-
SUB_FILES= llvm-wrapper.sh
SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"
diff --git a/devel/llvm33/distinfo b/devel/llvm33/distinfo
index a69e51d46aab..db6288c37cb3 100644
--- a/devel/llvm33/distinfo
+++ b/devel/llvm33/distinfo
@@ -1,2 +1,2 @@
-SHA256 (llvm-source-3.3rc3.tar.gz) = 22202303fc2ff667bd2ed1777f46985aed87a266efcc5d438451c25ec50e743b
-SIZE (llvm-source-3.3rc3.tar.gz) = 13644242
+SHA256 (llvm-3.3.src.tar.gz) = 68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578
+SIZE (llvm-3.3.src.tar.gz) = 13602421
diff --git a/devel/llvm33/pkg-plist b/devel/llvm33/pkg-plist
index 5fbbd2a767b9..1a48cf580c92 100644
--- a/devel/llvm33/pkg-plist
+++ b/devel/llvm33/pkg-plist
@@ -603,8 +603,8 @@ llvm33/include/llvm/Transforms/Utils/ValueMapper.h
llvm33/include/llvm/Transforms/Vectorize.h
llvm33/lib/BugpointPasses.so
llvm33/lib/LLVMHello.so
-llvm33/lib/libLLVM-3.3.so
-llvm33/lib/libLLVM-3.3.so.0
+llvm33/lib/libLLVM-%%PORTVERSION%%.so
+llvm33/lib/libLLVM-%%PORTVERSION%%.so.0
llvm33/lib/libLLVMAArch64AsmParser.a
llvm33/lib/libLLVMAArch64AsmPrinter.a
llvm33/lib/libLLVMAArch64CodeGen.a
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile
index 84569f32220b..b99ff6485278 100644
--- a/lang/clang33/Makefile
+++ b/lang/clang33/Makefile
@@ -1,21 +1,20 @@
# $FreeBSD$
PORTNAME= clang
-DISTVERSION= 3.3rc3
-PORTREVISION= 2
+DISTVERSION= 3.3
CATEGORIES= lang devel
-MASTER_SITES= http://llvm.org/pre-releases/3.3/rc3/
-DISTNAME= cfe-source-${DISTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
+DISTNAME= ${CLANG_NAME}
+DISTFILES= ${CLANG_SOURCE} \
${LLVM_SOURCE}
MAINTAINER= brooks@FreeBSD.org
COMMENT= C, Objective-C, and C++ compiler
-CLANG_NAME= cfe.src
-CLANG_SOURCE= ${DISTNAME}${EXTRACT_SUFX}
-LLVM_NAME= llvm.src
-LLVM_SOURCE= llvm-source-${DISTVERSION}${EXTRACT_SUFX}
+CLANG_NAME= cfe-${PORTVERSION}.src
+CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX}
+LLVM_NAME= llvm-${PORTVERSION}.src
+LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${LLVM_NAME}
BUILD_WRKSRC= ${WRKSRC}/tools/clang
@@ -24,7 +23,7 @@ INSTALL_WRKSRC= ${WRKSRC}/tools/clang
BUILD_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX}
RUN_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX}
-LLVM_SUFFIX= 33
+LLVM_SUFFIX= ${PORTVERSION:S/.//g}
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
diff --git a/lang/clang33/distinfo b/lang/clang33/distinfo
index 51ca1b46e127..bca04e73140a 100644
--- a/lang/clang33/distinfo
+++ b/lang/clang33/distinfo
@@ -1,4 +1,4 @@
-SHA256 (cfe-source-3.3rc3.tar.gz) = db2b5bdaa3a21632cd0c8fbf59c9cbe0c4688bcb444677bd75c5c8f62f372c6f
-SIZE (cfe-source-3.3rc3.tar.gz) = 9423822
-SHA256 (llvm-source-3.3rc3.tar.gz) = 22202303fc2ff667bd2ed1777f46985aed87a266efcc5d438451c25ec50e743b
-SIZE (llvm-source-3.3rc3.tar.gz) = 13644242
+SHA256 (cfe-3.3.src.tar.gz) = b1b55de4ab3a57d3e0331a83e0284610191c77d924e3446498d9113d08dfb996
+SIZE (cfe-3.3.src.tar.gz) = 9425539
+SHA256 (llvm-3.3.src.tar.gz) = 68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578
+SIZE (llvm-3.3.src.tar.gz) = 13602421
diff --git a/lang/clang33/files/patch-tools_clang_docs_Makefile b/lang/clang33/files/patch-tools_clang_docs_Makefile
new file mode 100644
index 000000000000..e11bb5957797
--- /dev/null
+++ b/lang/clang33/files/patch-tools_clang_docs_Makefile
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- tools/clang/docs/Makefile.orig
++++ tools/clang/docs/Makefile
+@@ -8,7 +8,6 @@
+ ##===----------------------------------------------------------------------===##
+
+ CLANG_LEVEL := ..
+-DIRS := tools
+
+ ifdef BUILD_FOR_WEBSITE
+ PROJ_OBJ_DIR = .
diff --git a/lang/clang33/pkg-plist b/lang/clang33/pkg-plist
index c22f9b542428..24ad14e2a41f 100644
--- a/lang/clang33/pkg-plist
+++ b/lang/clang33/pkg-plist
@@ -463,11 +463,8 @@ llvm33/lib/libclangStaticAnalyzerCheckers.a
llvm33/lib/libclangStaticAnalyzerCore.a
llvm33/lib/libclangStaticAnalyzerFrontend.a
llvm33/lib/libclangTooling.a
-%%PORTDOCS%%%%DOCSDIR%%/html.tar.gz
-%%PORTDOCS%%%%DOCSDIR%%/html/LibASTMatchersReference.html
%%PORTDOCS%%%%DOCSDIR%%/html/clang/clang.html
%%PORTDOCS%%%%DOCSDIR%%/html/clang/manpage.css
-%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
%%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps
@dirrm llvm33/lib/clang/3.3/include
@dirrm llvm33/lib/clang/3.3
@@ -506,7 +503,6 @@ llvm33/lib/libclangTooling.a
@dirrm llvm33/include/clang-c
@dirrm llvm33/include/clang
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ps
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%