Skip to content

Commit

Permalink
www/phpvirtualbox-legacy: PHP 8 support
Browse files Browse the repository at this point in the history
Patched from different sources

PR:			261498
Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D40116
  • Loading branch information
VVD committed May 22, 2023
1 parent a0c0886 commit f3629be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/phpvirtualbox-legacy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phpvirtualbox
DISTVERSION= 5.2-1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
PKGNAMESUFFIX= -legacy

Expand All @@ -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#' \
Expand Down

0 comments on commit f3629be

Please sign in to comment.