svn commit: r467245 - head/audio/kwave

Tobias C. Berner tcberner at FreeBSD.org
Fri Apr 13 15:44:24 UTC 2018


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>


More information about the svn-ports-head mailing list