Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2018 15:44:24 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467245 - head/audio/kwave
Message-ID:  <201804131544.w3DFiO8F009724@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Fri Apr 13 15:44:23 2018
New Revision: 467245
URL: https://svnweb.freebsd.org/changeset/ports/467245

Log:
  audio/kwave: pull in clang5.0 manually on older FreeBSD 11 releases
  
  FreeBSD11's clang is too to build kwave, and a newer version does not get
  pulled in by the ports framework.
  
  Reported by:	antoine

Modified:
  head/audio/kwave/Makefile

Modified: head/audio/kwave/Makefile
==============================================================================
--- head/audio/kwave/Makefile	Fri Apr 13 15:35:07 2018	(r467244)
+++ head/audio/kwave/Makefile	Fri Apr 13 15:44:23 2018	(r467245)
@@ -34,4 +34,14 @@ ALSA_LIB_DEPENDS=		libasound.so:audio/alsa-lib
 PULSEAUDIO_CMAKE_BOOL=		WITH_PULSEAUDIO
 PULSEAUDIO_LIB_DEPENDS=		libpulse.so:audio/pulseaudio
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.  if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505
+BUILD_DEPENDS+=		llvm50>=0:devel/llvm50
+# Build is broken on 11.x as clang is not new enough.
+# Workaround by manually setting CC to clang50.
+CC=		${LOCALBASE}/bin/clang50
+CXX=		${LOCALBASE}/bin/clang++50
+.  endif
+
+.include <bsd.port.post.mk>



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