svn commit: r356741 - head/irc/psybnc

Martin Wilke miwi at FreeBSD.org
Fri Jun 6 03:50:23 UTC 2014


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}


More information about the svn-ports-head mailing list