Date: Sun, 22 Jun 2014 14:15:12 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358804 - head/irc/psybnc Message-ID: <201406221415.s5MEFCHp074780@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Jun 22 14:15:12 2014 New Revision: 358804 URL: http://svnweb.freebsd.org/changeset/ports/358804 QAT: https://qat.redports.org/buildarchive/r358804/ Log: irc/psybnc: limit hack to FreeBSD to unbreak DragonFly This "fix" for FreeBSD doesn't look right to me; I don't think it should be using OSVERSION to determine which compiler is being used. Until its fixed better, make sure OSVERSION is only compared on FreeBSD. Modified: head/irc/psybnc/Makefile Modified: head/irc/psybnc/Makefile ============================================================================== --- head/irc/psybnc/Makefile Sun Jun 22 14:01:22 2014 (r358803) +++ head/irc/psybnc/Makefile Sun Jun 22 14:15:12 2014 (r358804) @@ -29,7 +29,7 @@ IS_INTERACTIVE= yes post-patch: @${REINPLACE_CMD} -e 's#=help/#=${PSYBASE}/help/#' ${WRKSRC}/lang/* -.if ( ${OSVERSION} >= 1000024 ) +.if ${OPSYS} == FreeBSD && ${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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406221415.s5MEFCHp074780>