aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm-devel
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2009-02-20 16:39:51 +0000
committerBrooks Davis <brooks@FreeBSD.org>2009-02-20 16:39:51 +0000
commit8b9a01f2d76a37b0191a0abd630cce423cd687af (patch)
tree525419f5b8d06cf5fccc9cece7144bc20c7bc9c1 /devel/llvm-devel
parentf0b98c380e35b6999114877b2a3579d86e521144 (diff)
downloadports-8b9a01f2d76a37b0191a0abd630cce423cd687af.tar.gz
ports-8b9a01f2d76a37b0191a0abd630cce423cd687af.zip
Notes
Diffstat (limited to 'devel/llvm-devel')
-rw-r--r--devel/llvm-devel/Makefile2
-rw-r--r--devel/llvm-devel/files/patch-tools_clang_lib_Basic_Targets.cpp14
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 50637fa5fc41..a554cbbe4905 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= llvm
DISTVERSION= 2.4.snap${SNAPDATE}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
diff --git a/devel/llvm-devel/files/patch-tools_clang_lib_Basic_Targets.cpp b/devel/llvm-devel/files/patch-tools_clang_lib_Basic_Targets.cpp
new file mode 100644
index 000000000000..07a8f79b6695
--- /dev/null
+++ b/devel/llvm-devel/files/patch-tools_clang_lib_Basic_Targets.cpp
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- tools/clang/lib/Basic/Targets.cpp.orig
++++ tools/clang/lib/Basic/Targets.cpp
+@@ -1012,7 +1012,7 @@
+ return new SparcV8TargetInfo(T);
+ }
+
+- if (T.find("x86_64-") == 0) {
++ if (T.find("x86_64-") == 0 || T.find("amd64-") == 0) {
+ if (isDarwin)
+ return new DarwinX86_64TargetInfo(T);
+ if (isLinux)