diff options
author | fjoe <fjoe@FreeBSD.org> | 2007-10-16 12:17:21 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2007-10-16 12:17:21 +0800 |
commit | 9ab69c42a8eecce0d659c88c73de7096c53c685b (patch) | |
tree | e1ec4aaef7856d07da88db948138d6f1784daebb /lang | |
parent | 434f7816c752c41def3e0de170ab7376c3d2634a (diff) | |
download | freebsd-ports-graphics-9ab69c42a8eecce0d659c88c73de7096c53c685b.tar.gz freebsd-ports-graphics-9ab69c42a8eecce0d659c88c73de7096c53c685b.tar.zst freebsd-ports-graphics-9ab69c42a8eecce0d659c88c73de7096c53c685b.zip |
- Update to 2.1
PR: 117011
Submitted by: Emil Mikulic
Diffstat (limited to 'lang')
-rw-r--r-- | lang/llvm-gcc4/Makefile | 9 | ||||
-rw-r--r-- | lang/llvm-gcc4/distinfo | 6 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-gcc::config::freebsd.h | 18 |
3 files changed, 26 insertions, 7 deletions
diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile index ad4b9f0f0fa..56183576e60 100644 --- a/lang/llvm-gcc4/Makefile +++ b/lang/llvm-gcc4/Makefile @@ -6,12 +6,11 @@ # PORTNAME= gcc4 -PORTVERSION= 2.0 -PORTREVISION= 1 +PORTVERSION= 2.1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= llvm- -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}.source +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}.0-${PORTVERSION}.source MAINTAINER= fjoe@FreeBSD.org COMMENT= gcc4 frontend for LLVM @@ -48,8 +47,10 @@ INFO= llvm-gcc/cpp \ llvm-gcc/gccint MAN1= llvm-cpp.1 llvm-g++.1 llvm-gcc.1 llvm-gcov.1 -post-patch: +post-extract: @${MKDIR} ${WRKSRC} + +post-patch: @${REINPLACE_CMD} -e 's,LLVMBASEPATH/Release/bin/llc,LLVMBASEPATH/bin/llc,'\ ${WRKSRC}/../gcc/configure\ ${WRKSRC}/../libcpp/configure diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo index 8565694b893..2020025f576 100644 --- a/lang/llvm-gcc4/distinfo +++ b/lang/llvm-gcc4/distinfo @@ -1,3 +1,3 @@ -MD5 (llvm-gcc4-2.0.source.tar.gz) = 648b6e1e73d770bbef2712b16a993548 -SHA256 (llvm-gcc4-2.0.source.tar.gz) = 4aa3a4de67ce766bde8c206a8f65886a39e22d91f9b7f0df50456f1994942176 -SIZE (llvm-gcc4-2.0.source.tar.gz) = 36578916 +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 diff --git a/lang/llvm-gcc4/files/patch-gcc::config::freebsd.h b/lang/llvm-gcc4/files/patch-gcc::config::freebsd.h new file mode 100644 index 00000000000..5d1a5bcae7b --- /dev/null +++ b/lang/llvm-gcc4/files/patch-gcc::config::freebsd.h @@ -0,0 +1,18 @@ +Author: asl +Date: Wed Sep 26 02:36:55 2007 +New Revision: 42351 + +Log: +FreeBSD really supports #pragma pack(push). This fixes PR1702 + +============================================================================== +--- ../gcc/config/freebsd.h (original) ++++ ../gcc/config/freebsd.h Wed Sep 26 02:36:55 2007 +@@ -85,3 +85,7 @@ + This enables the test coverage code to use file locking when exiting a + program, which avoids race conditions if the program has forked. */ + #define TARGET_HAS_F_SETLKW ++ ++/* LLVM LOCAL begin */ ++#define HANDLE_PRAGMA_PACK_PUSH_POP ++/* LLVM LOCAL end */ |