1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

www/phpvirtualbox-legacy: PHP 8 support

Patched from different sources

PR:			261498
Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D40116
This commit is contained in:
Vladimir Druzenko 2023-05-22 12:52:20 +03:00
parent a0c08864e4
commit f3629be7b9

View File

@ -1,6 +1,6 @@
PORTNAME= phpvirtualbox
DISTVERSION= 5.2-1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
PKGNAMESUFFIX= -legacy
@ -22,6 +22,8 @@ DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
ETCDIR= ${WWWDIR}
EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-php8
post-patch:
@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox-legacy.conf
@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox-legacy#' \