[mate-sensors-applet] 02/02: debian/rules: On kfreebsd and hurd exclude liblibsensors.so and libudisks.so plugin, as it does not get built there.
Mike Gabriel
sunweaver at debian.org
Wed Aug 23 14:50:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository mate-sensors-applet.
commit fcece1d468233893493abaf0e535e0413245aff2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Aug 23 16:50:10 2017 +0200
debian/rules: On kfreebsd and hurd exclude liblibsensors.so and libudisks.so plugin, as it does not get built there.
---
debian/rules | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 73ff356..707b3c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,15 @@
DHFLAGS=--parallel
+DH_INSTALL_EXCLUDES=
+DEB_BUILD_ARCH_OS=$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+ifneq (,$(filter kfreebsd,$(DEB_BUILD_ARCH_OS)))
+DH_INSTALL_EXCLUDES = --exclude liblibsensors.so --exclude libudisks.so
+endif
+ifneq (,$(filter hurd,$(DEB_BUILD_ARCH_OS)))
+DH_INSTALL_EXCLUDES = --exclude liblibsensors.so --exclude libudisks.so
+endif
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
@@ -17,7 +26,8 @@ override_dh_install:
rm -rfv debian/tmp/usr/lib/*/*.la
rm -rfv debian/tmp/usr/lib/*/mate-sensors-applet/plugins/*.a
rm -rfv debian/tmp/usr/lib/*/mate-sensors-applet/plugins/*.la
- dh_install
+
+ dh_install $(DH_INSTALL_EXCLUDES)
override_dh_auto_configure:
NOCONFIGURE=1 ./autogen.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-sensors-applet.git
More information about the pkg-mate-commits
mailing list