Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 19:36:17 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459542 - head/www/unit
Message-ID:  <201801201936.w0KJaHEI078813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Sat Jan 20 19:36:17 2018
New Revision: 459542
URL: https://svnweb.freebsd.org/changeset/ports/459542

Log:
  Add back LOG/RUN directories creation to fix unit's start-up.
  Bump PORTREVISION.
  
  PR:	225213

Modified:
  head/www/unit/Makefile

Modified: head/www/unit/Makefile
==============================================================================
--- head/www/unit/Makefile	Sat Jan 20 19:23:58 2018	(r459541)
+++ head/www/unit/Makefile	Sat Jan 20 19:36:17 2018	(r459542)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201936.w0KJaHEI078813>