aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/bareos20-server/Makefile.common4
-rw-r--r--sysutils/bareos20-traymonitor/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/bareos20-server/Makefile.common b/sysutils/bareos20-server/Makefile.common
index 7bad4fc0eb8d..468bc7e31743 100644
--- a/sysutils/bareos20-server/Makefile.common
+++ b/sysutils/bareos20-server/Makefile.common
@@ -8,7 +8,7 @@ post-build:
.endif
pre-install:
-.if ${PKGNAMESUFFIX} == "-traymonitor"
+.if ${PKGNAMESUFFIX} == "20-traymonitor"
. for d in client director monitor storage
${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}
${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \;
@@ -25,7 +25,7 @@ do-install:
${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} == "20-traymonitor"
# Install config files and preserve existing ones
.for d in client director monitor storage
${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/
diff --git a/sysutils/bareos20-traymonitor/Makefile b/sysutils/bareos20-traymonitor/Makefile
index 73cf8bec30be..ff5270b3176d 100644
--- a/sysutils/bareos20-traymonitor/Makefile
+++ b/sysutils/bareos20-traymonitor/Makefile
@@ -4,7 +4,7 @@ PKGNAMESUFFIX= 20-traymonitor
COMMENT= Backup archiving recovery open sourced (traymonitor)
LIB_DEPENDS+= libqwt5-qt5.so:x11-toolkits/qwt5-qt5 \
- libbareos.so:sysutils/bareos-client
+ libbareos.so:sysutils/bareos20-client
CONFLICTS= bareos-traymonitor bareos18-traymonitor bareos19-traymonitor