From abf4b6b3b95bab319d5d8274f3f75579c4294a80 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sat, 20 Jan 2018 19:36:17 +0000 Subject: Add back LOG/RUN directories creation to fix unit's start-up. Bump PORTREVISION. PR: 225213 --- www/unit/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'www/unit') diff --git a/www/unit/Makefile b/www/unit/Makefile index 792618c55250..09c6e40e87f2 100644 --- a/www/unit/Makefile +++ b/www/unit/Makefile @@ -3,6 +3,7 @@ PORTNAME= unit PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://unit.nginx.org/download/ @@ -70,6 +71,10 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK} .if !target(post-install) post-install: + ${MKDIR} ${STAGEDIR}${UNIT_LOGDIR} + ${MKDIR} ${STAGEDIR}${UNIT_RUNDIR} + ${ECHO_CMD} @dir ${UNIT_LOGDIR} >> ${TMPPLIST} + ${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST} ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules .endif -- cgit v1.2.3