mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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
This commit is contained in:
parent
e4c25594ff
commit
a0b0b4f7fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462484
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user