mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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.
This commit is contained in:
parent
d1d1af576c
commit
fc1b4e7cf9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358804
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user