Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 22:48:33 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461535 - head/multimedia/x265
Message-ID:  <201802112248.w1BMmXLC002313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sun Feb 11 22:48:33 2018
New Revision: 461535
URL: https://svnweb.freebsd.org/changeset/ports/461535

Log:
  ake advatnage of USES=compiler:c++14-lang instead of forcing clang
  5.0 usage.
  
  This should play better with non intel architectures we support.
  
  Suggested by:		jbeich@ (Thanks)

Modified:
  head/multimedia/x265/Makefile

Modified: head/multimedia/x265/Makefile
==============================================================================
--- head/multimedia/x265/Makefile	Sun Feb 11 22:36:07 2018	(r461534)
+++ head/multimedia/x265/Makefile	Sun Feb 11 22:48:33 2018	(r461535)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/../COPYING
 
 BUILD_DEPENDS=	yasm:devel/yasm
 
-USES=		cmake pathfix
+USES=		cmake compiler:c++14-lang pathfix
 
 OPTIONS_DEFINE=		DEBUG OPTIMIZED_FLAGS
 OPTIONS_DEFINE_amd64=	HI10P HI12P
@@ -40,16 +40,7 @@ CFLAGS_mips64=	-DNO_ATOMICS # cannot use lang/gcc
 EXTRACT_AFTER_ARGS+=	--exclude "md5*"
 WRKSRC=		${WRKDIR}/${PORTNAME}_v${PORTVERSION}/source
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100052
-BUILD_DEPENDS+=	${LOCALBASE}/bin/clang50:devel/llvm50
-CPP=		${LOCALBASE}/bin/clang-cpp50
-CC=		${LOCALBASE}/bin/clang50
-CXX=		${LOCALBASE}/bin/clang++50
-.endif
-
 do-test:
 	${WRKSRC}/test/TestBench
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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