Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 10:05:12 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462484 - head/irc/netwalker-ircc
Message-ID:  <201802211005.w1LA5Cxs064305@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 21 10:05:11 2018
New Revision: 462484
URL: https://svnweb.freebsd.org/changeset/ports/462484

Log:
  Fix build on 12.0-CURRENT after upgrading clang, llvm, lld, lldb, compiler-rt
  and libc++ to 6.0.0 by falling back to gcc.
  
  Notified by:	pkg-fallout

Modified:
  head/irc/netwalker-ircc/Makefile

Modified: head/irc/netwalker-ircc/Makefile
==============================================================================
--- head/irc/netwalker-ircc/Makefile	Wed Feb 21 09:49:05 2018	(r462483)
+++ head/irc/netwalker-ircc/Makefile	Wed Feb 21 10:05:11 2018	(r462484)
@@ -15,6 +15,13 @@ USES=		ncurses tar:tgz
 
 LDFLAGS+=	-lncurses -lpthread
 
+.include <bsd.port.pre.mk>
+
+# does not compile with clang 6.0.0
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056
+USE_GCC=	yes
+.endif
+
 post-patch:
 	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
 	${WRKSRC}/config.h > ${WRKSRC}/config.h.freebsd
@@ -32,4 +39,4 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/help/* ${STAGEDIR}${PREFIX}/share/netwalker-ircc
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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