diff options
author | osa <osa@FreeBSD.org> | 2018-01-21 03:36:17 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2018-01-21 03:36:17 +0800 |
commit | 971780d9e7367eff8d41788b77e24a86a7020d48 (patch) | |
tree | e0e97a0d0e36732cfdead7f792a80c24bda72a91 /www | |
parent | b2d3e30bdb8b9a9c5142b507caf8f77f1a92c689 (diff) | |
download | freebsd-ports-gnome-971780d9e7367eff8d41788b77e24a86a7020d48.tar.gz freebsd-ports-gnome-971780d9e7367eff8d41788b77e24a86a7020d48.tar.zst freebsd-ports-gnome-971780d9e7367eff8d41788b77e24a86a7020d48.zip |
Add back LOG/RUN directories creation to fix unit's start-up.
Bump PORTREVISION.
PR: 225213
Diffstat (limited to 'www')
-rw-r--r-- | www/unit/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |