sysutils/bareos-traymonitor: Fix build

Reported by:	pkg-fallout
This commit is contained in:
Jose Alonso Cardenas Marquez 2025-01-06 16:22:34 -08:00
parent 0006ef13f1
commit f11371c3a3
No known key found for this signature in database
GPG key ID: 335B9246BA5E30F4

View file

@ -2,7 +2,7 @@ post-patch:
.if (${PKGNAMESUFFIX} == "-traymonitor-qt5") || (${PKGNAMESUFFIX} == "-traymonitor-qt6") .if (${PKGNAMESUFFIX} == "-traymonitor-qt5") || (${PKGNAMESUFFIX} == "-traymonitor-qt6")
@${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt
@${REINPLACE_CMD} -e 's|\@bindir\@|${LOCALBASE}/bin|g' ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop.in @${REINPLACE_CMD} -e 's|\@bindir\@|${LOCALBASE}/bin|g' ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop.in
@${REINPLACE_CMD} '208d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} '206d' ${WRKSRC}/CMakeLists.txt
.endif .endif
post-extract: post-extract: