|
|
@ -5,16 +5,17 @@ export LC_ALL=C.UTF-8
|
|
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
|
|
|
|
|
|
|
|
WHICH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(WHICH_OS), kfreebsd)
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
|
|
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
|
|
|
|
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(WHICH_OS), hurd)
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), hurd)
|
|
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
|
|
|
|
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%:
|
|
|
|
%:
|
|
|
|
dh ${@} --buildsystem cmake
|
|
|
|
dh ${@} --buildsystem cmake
|
|
|
|
|
|
|
|
|
|
|
@ -27,4 +28,4 @@ override_dh_auto_configure:
|
|
|
|
-DUPDATE_TRANSLATIONS=OFF \
|
|
|
|
-DUPDATE_TRANSLATIONS=OFF \
|
|
|
|
-DDOM_PLUGIN=YES \
|
|
|
|
-DDOM_PLUGIN=YES \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
$(NOT_LINUX)
|
|
|
|
$(CONF_FLAGS)
|
|
|
|