svn commit: r358804 - head/irc/psybnc
John Marino
marino at FreeBSD.org
Sun Jun 22 14:15:12 UTC 2014
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
More information about the svn-ports-all
mailing list