mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
www/p5-CGI-SpeedyCGI: Fix build with llvm16
- Replace deprecated @exec/@unexec with @postexec/@postunexec Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2f038fd050
commit
063fe7a48e
@ -23,6 +23,12 @@ OPTIONS_SUB= yes
|
||||
APACHE_USES= apache
|
||||
APACHE_CONFIGURE_ENV_OFF= WITHOUT_APACHE=yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/__inline__//g' \
|
||||
${WRKSRC}/src/speedy_inc.h
|
||||
|
@ -4,5 +4,5 @@ bin/speedy_dump
|
||||
bin/speedy_suidperl
|
||||
%%SITE_PERL%%/CGI/SpeedyCGI.pm
|
||||
%%APACHE%%%%APACHEMODDIR%%/mod_speedycgi.so
|
||||
%%APACHE%%@exec %D/sbin/apxs -e -a -n speedycgi %D/%F
|
||||
%%APACHE%%@unexec %D/sbin/apxs -e -A -n speedycgi %D/%F
|
||||
%%APACHE%%@postexec %D/sbin/apxs -e -a -n speedycgi %D/%F
|
||||
%%APACHE%%@postunexec %D/sbin/apxs -e -A -n speedycgi %D/%F
|
||||
|
Loading…
Reference in New Issue
Block a user