diff --git a/sysutils/bareos23-traymonitor/Makefile b/sysutils/bareos23-traymonitor/Makefile index 4a23f31bb126..05e6ac730f44 100644 --- a/sysutils/bareos23-traymonitor/Makefile +++ b/sysutils/bareos23-traymonitor/Makefile @@ -1,46 +1,48 @@ PORTREVISION= 0 PKGNAMESUFFIX= 23-traymonitor COMMENT= Backup archiving recovery open sourced (traymonitor) LIB_DEPENDS+= libbareos.so:sysutils/bareos23-client CONFLICTS= bareos20-traymonitor bareos21-traymonitor bareos22-traymonitor \ bareos-traymonitor USES= desktop-file-utils gettext-runtime pkgconfig FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} +CFLAGS+= -Wno-unused-parameter + qt5_CONFLICTS= bareos-traymonitor-qt6 qt6_CONFLICTS= bareos-traymonitor-qt5 .if ${FLAVOR} == qt6 PKGNAMESUFFIX= -traymonitor-qt6 USES+= qt:6 USE_QT= base:run declarative:build tools:build CMAKE_ARGS+= -Dbat-qt6=yes .else PKGNAMESUFFIX= -traymonitor-qt5 LIB_DEPENDS+= libqwt5-qt5.so:x11-toolkits/qwt5-qt5 USES+= qt:5 USE_QT= buildtools:build qmake:build uitools:build gui core widgets .endif WITH_BAT= yes PLIST= ${.CURDIR}/pkg-plist CFLAGS+= -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 MASTERDIR= ${.CURDIR}/../../sysutils/bareos23-server CMAKE_ARGS+= -Dtraymonitor=yes \ -Dbuild-dird=no \ -Dbuild-stored=no \ -Dclient-only=yes \ -Dnls=ON .include "${MASTERDIR}/Makefile"