aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2018-02-21 10:05:11 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2018-02-21 10:05:11 +0000
commita0b0b4f7fa7b1cfcf18c2bbc5d7079c0810aec9a (patch)
treeb2e6b2167721ac15b8094f72d05e335a2889b417 /irc
parente4c25594ffeb70007021a611bcd7f1aeaed0ce5f (diff)
downloadports-a0b0b4f7fa7b1cfcf18c2bbc5d7079c0810aec9a.tar.gz
ports-a0b0b4f7fa7b1cfcf18c2bbc5d7079c0810aec9a.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/netwalker-ircc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/irc/netwalker-ircc/Makefile b/irc/netwalker-ircc/Makefile
index f1670607adc9..9eb4dbc6b54d 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>