aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-01-21 13:57:41 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-01-21 13:57:41 +0000
commitd08bba2732e35ad81fd13451960ff13b968621d7 (patch)
tree4a4445dd15c6162891a0a3fae6e7a5b738556e13
parent60faa27da9a7f2037a9f483d0f0b52f02694402a (diff)
downloadports-d08bba2732e35ad81fd13451960ff13b968621d7.tar.gz
ports-d08bba2732e35ad81fd13451960ff13b968621d7.zip
sysutils/bareos20-traymonitor: Fix build
Reported by: pkg-fallout
-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