summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-12-18 22:42:57 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-12-18 22:42:57 +0000
commit1fb1fd8d71e4be38d7c832b6f738ce2912b2e899 (patch)
tree9f0013823759fdbbaf05b3e1e0ddea376f50f852
parent- Update net-mgmt/pandorafms ports to 5.1SP1 release (diff)
Make default target triple match base clang.
PR: 194487 Submitted by: Jan Beich <jbeich@vfemail.net>
-rw-r--r--devel/llvm-devel/Makefile4
-rw-r--r--lang/clang-devel/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 5933e8765c5c..a952e6aa6f9c 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= llvm
DISTVERSION= 3.6.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -92,6 +93,9 @@ STRIP_LIBS= BugpointPasses.so \
.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}
RELEASE_TYPE= Release+Asserts
.else
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 642a1c45c5c1..92695be4acd7 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= clang
PORTVERSION= 3.6.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -84,6 +85,9 @@ RELTYPE= Release
.include <bsd.port.pre.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}
+
.include "${.CURDIR}/../../devel/llvm-devel/Makefile.svn_rev"
.if ${PORT_OPTIONS:MASSERTS}