[Pkg-wmaker-commits] [wmshutdown] 141/173: debian/rules: Add override_dh_auto_configure target to use ConsoleKit in !linux.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmshutdown.

commit 5d9ab8c89ae40f64f8407e477119c5143dc14d4d
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Oct 26 09:03:19 2014 -0500

    debian/rules: Add override_dh_auto_configure target to use ConsoleKit in !linux.
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index fcbaf56..4b308f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,14 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
 %:
 	dh $@ --with autoreconf
 
+ifneq ($(DEB_HOST_ARCH_OS), linux)
+override_dh_auto_configure:
+	dh_auto_configure -- --with-consolekit
+endif
+
 get-orig-source:
 	uscan --verbose --force-download --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git



More information about the Pkg-wmaker-commits mailing list