Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2017 10:50:47 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430247 - head/devel/boost-libs
Message-ID:  <201701011050.v01Aol88039175@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Jan  1 10:50:47 2017
New Revision: 430247
URL: https://svnweb.freebsd.org/changeset/ports/430247

Log:
  devel/boost-libs: unblock aarch64 and sparc64 builds
  
  - aarch64 requires Clang with new enough integrated assembler
  - sparc64 is no longer supported since we don't split context library
    into a separate package (unlike Debian)
  
  PR:		213867 214942
  MFH:		2016Q4

Modified:
  head/devel/boost-libs/Makefile   (contents, props changed)

Modified: head/devel/boost-libs/Makefile
==============================================================================
--- head/devel/boost-libs/Makefile	Sun Jan  1 09:20:32 2017	(r430246)
+++ head/devel/boost-libs/Makefile	Sun Jan  1 10:50:47 2017	(r430247)
@@ -6,6 +6,9 @@ PORTREVISION=	1
 
 COMMENT=	Free portable C++ libraries (without Boost.Python)
 
+NOT_FOR_ARCHS=	sparc64
+NOT_FOR_ARCHS_REASON=	https://github.com/boostorg/context/commit/f2ef6326b6ed
+
 BUILD_DEPENDS+=	bjam:devel/boost-jam
 
 OPTIONS_DEFINE=		DEBUG OPTIMIZED_CFLAGS
@@ -29,6 +32,17 @@ ICU_MAKE_ARGS_OFF=	boost.locale.icu=off
 MAKE_ARGS+=	--without-python
 ALL_TARGET=	stage
 
+.include <bsd.port.options.mk>
+
+# XXX Avoid bsd.port.(pre|post).mk dance by only working around base compiler
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508 && ${ARCH} == aarch64 && ${CXX} == c++
+BUILD_DEPENDS+=	${CC}:devel/llvm${LLVM_VER}
+CC=		clang${LLVM_VER}
+CXX=		clang++${LLVM_VER}
+CPP=		clang-cpp${LLVM_VER}
+LLVM_VER?=	39
+.endif
+
 do-install:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
 		${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET}



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