diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2018-02-21 18:05:11 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2018-02-21 18:05:11 +0800 |
commit | 590e5bd146962cdd4cc35dd9612f3fa86a4a6b3a (patch) | |
tree | b2e6b2167721ac15b8094f72d05e335a2889b417 /irc | |
parent | 53dfe71626867fb247d7ffa76ebb16b199926f3a (diff) | |
download | freebsd-ports-graphics-590e5bd146962cdd4cc35dd9612f3fa86a4a6b3a.tar.gz freebsd-ports-graphics-590e5bd146962cdd4cc35dd9612f3fa86a4a6b3a.tar.zst freebsd-ports-graphics-590e5bd146962cdd4cc35dd9612f3fa86a4a6b3a.zip |
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
Diffstat (limited to 'irc')
-rw-r--r-- | irc/netwalker-ircc/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/irc/netwalker-ircc/Makefile b/irc/netwalker-ircc/Makefile index f1670607adc..9eb4dbc6b54 100644 --- a/irc/netwalker-ircc/Makefile +++ b/irc/netwalker-ircc/Makefile @@ -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> |