Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2013 06:17:49 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327131 - head/multimedia/mkvtoolnix
Message-ID:  <201309130617.r8D6Hn9w041629@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Sep 13 06:17:48 2013
New Revision: 327131
URL: http://svnweb.freebsd.org/changeset/ports/327131

Log:
  Use clang+libc++ when possible

Modified:
  head/multimedia/mkvtoolnix/Makefile

Modified: head/multimedia/mkvtoolnix/Makefile
==============================================================================
--- head/multimedia/mkvtoolnix/Makefile	Fri Sep 13 02:52:43 2013	(r327130)
+++ head/multimedia/mkvtoolnix/Makefile	Fri Sep 13 06:17:48 2013	(r327131)
@@ -22,7 +22,6 @@ LIB_DEPENDS=	vorbis:${PORTSDIR}/audio/li
 
 USES=		pkgconfig gettext iconv
 USE_XZ=		yes
-USE_GCC=	yes
 GNU_CONFIGURE=	yes
 USE_RAKE=	yes
 USE_RUBY=	yes
@@ -42,6 +41,11 @@ MAN1=		mkvextract.1 mkvinfo.1 mkvmerge.1
 OPTIONS_DEFINE=	WXGTK FLAC CURL
 OPTIONS_DEFAULT=WXGTK FLAC CURL
 
+_CCVERSION=	${CC} --version
+.if !${_CCVERSION:MCLANG} || ${OSVERSION} < 1000053
+USE_GCC=	yes
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "sparc64"



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