mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04: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
2 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue