diff options
author | brooks <brooks@FreeBSD.org> | 2008-03-25 06:48:35 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-03-25 06:48:35 +0800 |
commit | 0426bcc9a76e82741f28356eba9e04d0195353a6 (patch) | |
tree | 9890be41a69f07198d0b4faa40e80fe6eb7b86e1 /lang | |
parent | 64bcf57c8bbacf2bf33f67927f427493f0e16b32 (diff) | |
download | freebsd-ports-graphics-0426bcc9a76e82741f28356eba9e04d0195353a6.tar.gz freebsd-ports-graphics-0426bcc9a76e82741f28356eba9e04d0195353a6.tar.zst freebsd-ports-graphics-0426bcc9a76e82741f28356eba9e04d0195353a6.zip |
Upgrade devel/llvm and lang/llvm-gcc4 to LLVM 2.2.
Switch llvm-gcc4 from the deprecated gcc 4.0 based version to a new gcc
4.2 based release.
See the release notes for details:
http://www.llvm.org/releases/2.2/docs/ReleaseNotes.html
Diffstat (limited to 'lang')
-rw-r--r-- | lang/llvm-gcc4/Makefile | 15 | ||||
-rw-r--r-- | lang/llvm-gcc4/distinfo | 6 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-gcc_config.gcc | 11 |
3 files changed, 9 insertions, 23 deletions
diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile index ea5fb648f69..dbabc30fe33 100644 --- a/lang/llvm-gcc4/Makefile +++ b/lang/llvm-gcc4/Makefile @@ -6,15 +6,16 @@ # PORTNAME= gcc4 -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 2.2 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= llvm- -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}.0-${PORTVERSION}.source +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}.2-${PORTVERSION}.source MAINTAINER= emil@cs.rmit.edu.au -COMMENT= gcc4 frontend for LLVM +COMMENT= A gcc4 frontend for LLVM + +BUILD_DEPENDS= llc:${PORTSDIR}/devel/llvm GNU_CONFIGURE= yes USE_BISON= build @@ -23,9 +24,7 @@ USE_ICONV= yes USE_PERL5_BUILD=yes ONLY_FOR_ARCHS= i386 amd64 -BUILD_DEPENDS= ${LOCALBASE}/bin/llc:${PORTSDIR}/devel/llvm - -GCC_VER= 4.0.1 +GCC_VER= 4.2.1 WRKSRC= ${WRKDIR}/${DISTNAME}/build TARGLIB= ${PREFIX}/lib/gcc-llvm-${PORTVERSION} CONFIGURE_SCRIPT= ../configure @@ -63,8 +62,6 @@ post-patch: post-install: ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \ ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7 - ${MV} -f ${PREFIX}/include/mf-runtime.h \ - ${TARGLIB}/gcc/${CONFIGURE_TARGET}/4.0.1/include # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo index 2020025f576..21723a20805 100644 --- a/lang/llvm-gcc4/distinfo +++ b/lang/llvm-gcc4/distinfo @@ -1,3 +1,3 @@ -MD5 (llvm-gcc4.0-2.1.source.tar.gz) = b2592f6d4010f7128ff29eb8bffa3896 -SHA256 (llvm-gcc4.0-2.1.source.tar.gz) = 9bfe4ffb5d4db6564944381b58c65dfb1c38f1866d5a0cb1565721b3eb9de56f -SIZE (llvm-gcc4.0-2.1.source.tar.gz) = 36597285 +MD5 (llvm-gcc4.2-2.2.source.tar.gz) = 7591c949eed3efc7a8b802b8f97effcc +SHA256 (llvm-gcc4.2-2.2.source.tar.gz) = 77e24456d620f16fb515c2ddd898c922ac80a9cac59faae43098996339b27287 +SIZE (llvm-gcc4.2-2.2.source.tar.gz) = 49160222 diff --git a/lang/llvm-gcc4/files/patch-gcc_config.gcc b/lang/llvm-gcc4/files/patch-gcc_config.gcc deleted file mode 100644 index acdd3593365..00000000000 --- a/lang/llvm-gcc4/files/patch-gcc_config.gcc +++ /dev/null @@ -1,11 +0,0 @@ ---- ../gcc/config.gcc.orig 2007-12-20 19:57:41.000000000 -0500 -+++ ../gcc/config.gcc 2007-12-20 19:58:08.000000000 -0500 -@@ -431,6 +431,8 @@ - *-*-freebsd7 | *-*-freebsd[7].*) - tm_defines="${tm_defines} FBSD_MAJOR=7" ;; - # APPLE LOCAL end LLVM -+ *-*-freebsd8 | *-*-freebsd[8].*) -+ tm_defines="${tm_defines} FBSD_MAJOR=8" ;; - *) - echo 'Please update *-*-freebsd* in gcc/config.gcc' - exit 1 |