aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-13 06:17:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-13 06:17:48 +0000
commit757526b52c73d9b89cc2703fcde4fe5bbb65ad19 (patch)
tree3f5daf46357bb5cc18da336365440d70796e99b3 /multimedia
parent5675a7b969484580bee0c96db953c1881484dd13 (diff)
downloadports-757526b52c73d9b89cc2703fcde4fe5bbb65ad19.tar.gz
ports-757526b52c73d9b89cc2703fcde4fe5bbb65ad19.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkvtoolnix/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index eebd8abc5b61..4b532eb262fa 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -22,7 +22,6 @@ LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \
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 mkvpropedit.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"