svn commit: r496766 - head/sysutils/nut

Romain Tartière romain at FreeBSD.org
Sun Mar 24 18:02:16 UTC 2019


Author: romain
Date: Sun Mar 24 18:02:15 2019
New Revision: 496766
URL: https://svnweb.freebsd.org/changeset/ports/496766

Log:
  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)

Modified:
  head/sysutils/nut/Makefile

Modified: head/sysutils/nut/Makefile
==============================================================================
--- head/sysutils/nut/Makefile	Sun Mar 24 16:05:46 2019	(r496765)
+++ head/sysutils/nut/Makefile	Sun Mar 24 18:02:15 2019	(r496766)
@@ -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>


More information about the svn-ports-all mailing list