aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-06-22 22:15:12 +0800
committermarino <marino@FreeBSD.org>2014-06-22 22:15:12 +0800
commit3d9f23d2e2da50fbdf2e5dab7049694fc7336aa8 (patch)
tree63cb6b4cb6f057c60eb7a51557b53b98e69d553b /irc
parent8b495142f0667d53942419c013a1f6bce9dbd18a (diff)
downloadfreebsd-ports-gnome-3d9f23d2e2da50fbdf2e5dab7049694fc7336aa8.tar.gz
freebsd-ports-gnome-3d9f23d2e2da50fbdf2e5dab7049694fc7336aa8.tar.zst
freebsd-ports-gnome-3d9f23d2e2da50fbdf2e5dab7049694fc7336aa8.zip
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.
Diffstat (limited to 'irc')
-rw-r--r--irc/psybnc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/psybnc/Makefile b/irc/psybnc/Makefile
index 7550610e646d..b699e88c3fa7 100644
--- a/irc/psybnc/Makefile
+++ b/irc/psybnc/Makefile
@@ -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