aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/llvm33/Makefile5
-rw-r--r--lang/clang33/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/devel/llvm33/Makefile b/devel/llvm33/Makefile
index 0edc1db0ebdb..bc5355949e20 100644
--- a/devel/llvm33/Makefile
+++ b/devel/llvm33/Makefile
@@ -2,7 +2,7 @@
PORTNAME= llvm
PORTVERSION= 3.3
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -85,6 +85,9 @@ CONFIGURE_ARGS+=--enable-experimental-targets=R600
.include <bsd.port.options.mk>
+# keep in sync with /usr/src/lib/clang/clang.build.mk
+CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL}
+
.if ${PORT_OPTIONS:MASSERTS}
CONFIGURE_ARGS+= --enable-assertions
RELEASE_TYPE= Release+Asserts
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile
index ee736a08f240..b074033cd354 100644
--- a/lang/clang33/Makefile
+++ b/lang/clang33/Makefile
@@ -2,7 +2,7 @@
PORTNAME= clang
DISTVERSION= 3.3
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@@ -73,6 +73,9 @@ PORTDATA= scanview.css \
.include <bsd.port.options.mk>
+# keep in sync with /usr/src/lib/clang/clang.build.mk
+CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL}
+
.if ${PORT_OPTIONS:MASSERTS}
CONFIGURE_ARGS+= --enable-assertions
RELTYPE= Release+Asserts