Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 22:17:14 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374924 - in head: devel/llvm35 lang/clang35
Message-ID:  <201412182217.sBIMHErC016397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Thu Dec 18 22:17:13 2014
New Revision: 374924
URL: https://svnweb.freebsd.org/changeset/ports/374924
QAT: https://qat.redports.org/buildarchive/r374924/

Log:
  Make default target triple match base clang.
  
  PR:		194487
  Submitted by:	Jan Beich <jbeich@vfemail.net>

Modified:
  head/devel/llvm35/Makefile
  head/lang/clang35/Makefile

Modified: head/devel/llvm35/Makefile
==============================================================================
--- head/devel/llvm35/Makefile	Thu Dec 18 21:07:43 2014	(r374923)
+++ head/devel/llvm35/Makefile	Thu Dec 18 22:17:13 2014	(r374924)
@@ -2,6 +2,7 @@
 
 PORTNAME=	llvm
 DISTVERSION=	3.5.0
+PORTREVISION=	1
 CATEGORIES=	devel lang
 MASTER_SITES=	http://llvm.org/releases/3.5.0/
 DISTNAME=	${PORTNAME}-${DISTVERSION}.src
@@ -85,6 +86,9 @@ CONFIGURE_ARGS+=--enable-experimental-ta
 
 .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

Modified: head/lang/clang35/Makefile
==============================================================================
--- head/lang/clang35/Makefile	Thu Dec 18 21:07:43 2014	(r374923)
+++ head/lang/clang35/Makefile	Thu Dec 18 22:17:13 2014	(r374924)
@@ -2,7 +2,7 @@
 
 PORTNAME=	clang
 DISTVERSION=	3.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang devel
 MASTER_SITES=   http://llvm.org/releases/3.5.0/
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
@@ -85,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}
+
 .if ${PORT_OPTIONS:MASSERTS}
 pre-fetch:
 	@if [ "`llvm-config${LLVM_SUFFIX} --build-mode`" != ${RELTYPE} ]; then \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412182217.sBIMHErC016397>