svn commit: r547473 - head/databases/mysql80-server

Jochen Neumeister joneum at FreeBSD.org
Thu Sep 3 18:50:53 UTC 2020


Author: joneum
Date: Thu Sep  3 18:50:52 2020
New Revision: 547473
URL: https://svnweb.freebsd.org/changeset/ports/547473

Log:
  fix build on current
  - add temporary work around to use llvm from ports on recent currents
  
  MFH:	2020Q3
  Sponsored by:	Netzkommune GmbH

Modified:
  head/databases/mysql80-server/Makefile

Modified: head/databases/mysql80-server/Makefile
==============================================================================
--- head/databases/mysql80-server/Makefile	Thu Sep  3 18:42:30 2020	(r547472)
+++ head/databases/mysql80-server/Makefile	Thu Sep  3 18:50:52 2020	(r547473)
@@ -181,6 +181,12 @@ SUB_LIST+=	LEGACY_LIMITS="" MODERN_LIMITS="@comment "
 
 .include <bsd.port.pre.mk>
 
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300109
+BUILD_DEPENDS+=		clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
+CC=			${LOCALBASE}/bin/clang${LLVM_DEFAULT}
+CXX=		${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
+.endif
+
 post-extract:
 	@${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h
 


More information about the svn-ports-all mailing list