svn commit: r535685 - head/sysutils/bareos17-server
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Sun May 17 22:31:55 UTC 2020
Author: acm
Date: Sun May 17 22:31:55 2020
New Revision: 535685
URL: https://svnweb.freebsd.org/changeset/ports/535685
Log:
- Fix traymonitor and client-static build
Reported by: pkg-fallout
Modified:
head/sysutils/bareos17-server/Makefile.common
Modified: head/sysutils/bareos17-server/Makefile.common
==============================================================================
--- head/sysutils/bareos17-server/Makefile.common Sun May 17 22:31:06 2020 (r535684)
+++ head/sysutils/bareos17-server/Makefile.common Sun May 17 22:31:55 2020 (r535685)
@@ -11,7 +11,7 @@ post-build:
.endif
pre-install:
-.if ${PKGNAMESUFFIX} == "-traymonitor"
+.if ${PKGNAMESUFFIX} == "17-traymonitor"
. for d in client director monitor storage
${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}
${FIND} ${WRKSRC}/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \;
@@ -24,11 +24,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \
${STAGEDIR}${PREFIX}/libexec/nagios
.endif
-.if ${PKGNAMESUFFIX} == "-client-static"
+.if ${PKGNAMESUFFIX} == "17-client-static"
${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static
${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static
.endif
-.if ${PKGNAMESUFFIX} == "-traymonitor"
+.if ${PKGNAMESUFFIX} == "17-traymonitor"
# Install config files and preserve existing ones
.for d in client director monitor storage
${INSTALL_SCRIPT} ${WRKSRC}/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/
More information about the svn-ports-head
mailing list