aboutsummaryrefslogtreecommitdiff
path: root/www/h2o
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2021-02-24 08:39:20 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2021-02-24 08:39:20 +0000
commit074433bd34bda8f9dd04533253b1cefd4080b8f2 (patch)
treea3a16efce2e4e81a49c7f35e213ef27fc9ca1c53 /www/h2o
parent08f89ad89bf2a8dd818f7cd59b3a4a26c9f91e5d (diff)
downloadports-074433bd34bda8f9dd04533253b1cefd4080b8f2.tar.gz
ports-074433bd34bda8f9dd04533253b1cefd4080b8f2.zip
Notes
Diffstat (limited to 'www/h2o')
-rw-r--r--www/h2o/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/h2o/Makefile b/www/h2o/Makefile
index cbc1badbfada..ec784da3ef05 100644
--- a/www/h2o/Makefile
+++ b/www/h2o/Makefile
@@ -4,7 +4,6 @@
PORTNAME= h2o
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.6
-PORTREVISION= 1
CATEGORIES= www
MAINTAINER= dch@FreeBSD.org
@@ -23,7 +22,7 @@ LIB_DEPENDS= libuv.so:devel/libuv
USES= cmake:noninja compiler:c11 cpe perl5 shebangfix ssl pkgconfig
USE_GITHUB= yes
USE_PERL5= run
-USE_LDCONFIG= yes
+USE_LDCONFIG= yes
CPE_VENDOR= h2o_project
@@ -61,6 +60,15 @@ MRUBY_USES= bison
MRUBY_USE= ruby=yes
MRUBY_VARS= RUBY_NO_RUN_DEPENDS=yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \
+ ${WRKSRC}/share/h2o/annotate-backtrace-symbols \
+ ${WRKSRC}/share/h2o/fastcgi-cgi \
+ ${WRKSRC}/share/h2o/fetch-ocsp-response \
+ ${WRKSRC}/share/h2o/kill-on-close \
+ ${WRKSRC}/share/h2o/setuidgid \
+ ${WRKSRC}/share/h2o/start_server
+
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR} \
${STAGEDIR}${H2O_LOGDIR}