svn commit: r327131 - head/multimedia/mkvtoolnix

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 13 06:17:49 UTC 2013


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"


More information about the svn-ports-head mailing list