mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix build with clang
PR: 190686
This commit is contained in:
parent
00ea899b22
commit
bcea1b57a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356741
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= psybnc
|
||||
DISTVERSION= 2.3.2-9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= irc ipv6
|
||||
MASTER_SITES= http://www.psybnc.at/download/beta/ CENKES
|
||||
DISTNAME= psyBNC-${DISTVERSION}
|
||||
@ -28,6 +29,10 @@ IS_INTERACTIVE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's#=help/#=${PSYBASE}/help/#' ${WRKSRC}/lang/*
|
||||
.if ( ${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
|
||||
|
||||
do-configure:
|
||||
.if ${PORT_OPTIONS:MMENUCONFIG}
|
||||
|
Loading…
Reference in New Issue
Block a user