Date: Fri, 6 Jun 2014 03:50:22 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356741 - head/irc/psybnc Message-ID: <201406060350.s563oMHI073672@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Fri Jun 6 03:50:22 2014 New Revision: 356741 URL: http://svnweb.freebsd.org/changeset/ports/356741 QAT: https://qat.redports.org/buildarchive/r356741/ Log: - Fix build with clang PR: 190686 Modified: head/irc/psybnc/Makefile Modified: head/irc/psybnc/Makefile ============================================================================== --- head/irc/psybnc/Makefile Fri Jun 6 03:49:31 2014 (r356740) +++ head/irc/psybnc/Makefile Fri Jun 6 03:50:22 2014 (r356741) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406060350.s563oMHI073672>