diff options
author | marino <marino@FreeBSD.org> | 2014-06-22 22:15:12 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-06-22 22:15:12 +0800 |
commit | 3d9f23d2e2da50fbdf2e5dab7049694fc7336aa8 (patch) | |
tree | 63cb6b4cb6f057c60eb7a51557b53b98e69d553b /irc | |
parent | 8b495142f0667d53942419c013a1f6bce9dbd18a (diff) | |
download | freebsd-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/Makefile | 2 |
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 |