mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04: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:
parent
a0c08864e4
commit
f3629be7b9
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= phpvirtualbox
|
PORTNAME= phpvirtualbox
|
||||||
DISTVERSION= 5.2-1
|
DISTVERSION= 5.2-1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
PKGNAMESUFFIX= -legacy
|
PKGNAMESUFFIX= -legacy
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@ DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
|
||||||
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
|
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
|
||||||
ETCDIR= ${WWWDIR}
|
ETCDIR= ${WWWDIR}
|
||||||
|
|
||||||
|
EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-php8
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox-legacy.conf
|
@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox-legacy.conf
|
||||||
@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox-legacy#' \
|
@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox-legacy#' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue