svn commit: r462484 - head/irc/netwalker-ircc

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 21 10:05:12 UTC 2018


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>


More information about the svn-ports-head mailing list