Skip to content
Snippets Groups Projects
Commit d08bba27 authored by Jose Alonso Cardenas Marquez's avatar Jose Alonso Cardenas Marquez
Browse files

sysutils/bareos20-traymonitor: Fix build

Reported by:	pkg-fallout
parent 60faa27d
No related branches found
No related tags found
No related merge requests found
......@@ -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}/
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment