summaryrefslogtreecommitdiff
path: root/sysutils/nut
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2019-03-24 18:02:15 +0000
committerRomain Tartière <romain@FreeBSD.org>2019-03-24 18:02:15 +0000
commit1417eb6216bfc68895fbd0da8152da29a964d670 (patch)
treeaaf3630f1ba4640170faf631057ab6bac656868e /sysutils/nut
parentAdd explicit build dependency on python (diff)
Fix build when DOCS is unset
Do not contionaly install the logging files depending on the DOCS option set. THey should always be installed. Approved by: portmgr (blanket)
Diffstat (limited to 'sysutils/nut')
-rw-r--r--sysutils/nut/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index f4296169a2a5..d99be0cacc52 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -187,11 +187,11 @@ post-install:
.for file in AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README UPGRADING
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
+.endif
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.d/nut
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nut.conf
${MKDIR} ${STAGEDIR}/var/log/nut
-.endif
.include <bsd.port.mk>