diff options
author | miwi <miwi@FreeBSD.org> | 2014-06-06 11:50:22 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-06-06 11:50:22 +0800 |
commit | 89c3c46a91e931fc43c20b0ee530c8a6dfe46763 (patch) | |
tree | 5154cb4994c2c0b540e3d72ae8092884dcfcb48f /irc | |
parent | 6cffe575f9c070263a5a4a07b0cdf22f75063316 (diff) | |
download | freebsd-ports-gnome-89c3c46a91e931fc43c20b0ee530c8a6dfe46763.tar.gz freebsd-ports-gnome-89c3c46a91e931fc43c20b0ee530c8a6dfe46763.tar.zst freebsd-ports-gnome-89c3c46a91e931fc43c20b0ee530c8a6dfe46763.zip |
- Fix build with clang
PR: 190686
Diffstat (limited to 'irc')
-rw-r--r-- | irc/psybnc/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/irc/psybnc/Makefile b/irc/psybnc/Makefile index af362ed764ba..7550610e646d 100644 --- a/irc/psybnc/Makefile +++ b/irc/psybnc/Makefile @@ -3,6 +3,7 @@ PORTNAME= psybnc DISTVERSION= 2.3.2-9 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= http://www.psybnc.at/download/beta/ CENKES DISTNAME= psyBNC-${DISTVERSION} @@ -28,6 +29,10 @@ IS_INTERACTIVE= yes post-patch: @${REINPLACE_CMD} -e 's#=help/#=${PSYBASE}/help/#' ${WRKSRC}/lang/* +.if ( ${OSVERSION} >= 1000024 ) + @${REINPLACE_CMD} -e 's,gcc,clang -Wno-return-type,g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's,gcc,clang -Wno-return-type,g' ${WRKSRC}/tools/autoconf.c +.endif do-configure: .if ${PORT_OPTIONS:MMENUCONFIG} |