[Debian-ha-commits] [sbd] 01/01: d/rules: override_dh_auto_configure libdir

Adrian Vondendriesch discostu-guest at moszumanska.debian.org
Fri May 6 18:18:21 UTC 2016


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

discostu-guest pushed a commit to branch master
in repository sbd.

commit f36cbe7a62075124e8d059d643a8977cab708ee4
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date:   Fri May 6 20:15:51 2016 +0200

    d/rules: override_dh_auto_configure libdir
    
    We need to override the libdir, otherwise it will be installed within
    /usr/lib/${DEB_HOST_MULTIARCH} and pacemaker will not be able to find the
    external/sbd agent.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index d52074c..0fd452e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,12 @@ export DEB_LDFLAGS_MAINT_APPEND+=-Wl,--as-needed
 %:
 	dh $@ --with=autoreconf,systemd --fail-missing
 
+override_dh_auto_configure:
+# We need to override the libdir, otherwise it will be installed
+# within /usr/lib/${DEB_HOST_MULTIARCH} and pacemaker will not be
+# able to find the external/sbd agent.
+	dh_auto_configure -- --libdir=/usr/lib
+
 # sbd is started through corosync.
 override_dh_systemd_start:
 	dh_systemd_start --no-start

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/sbd.git



More information about the Debian-HA-Commits mailing list