diff options
| author | Michael Biebl <biebl@debian.org> | 2014-04-01 23:26:12 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-04-01 23:54:41 +0200 |
| commit | f4a60d6109f887ca26ed5ef5d348c12890324a7b (patch) | |
| tree | 015638011c7a646bf412d63c253e6f341c518bde /debian/rules | |
| parent | 0327c44924fd01616f0133b703ea2db77ad3eba9 (diff) | |
Convert to multi-arch
Mark libnm-glib4, libnm-glib-vpn1 and libnm-util2 as M-A: same. As pppd has not been converted yet, keep installing the ppp plugin to /usr/lib/pppd/2.4.5/.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 9b2ac384..92823651 100755 --- a/debian/rules +++ b/debian/rules @@ -3,12 +3,15 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + %: dh $@ --with gir,systemd override_dh_auto_configure: dh_auto_configure -- \ --libexecdir=/usr/lib/NetworkManager \ + --with-pppd-plugin-dir=/usr/lib/pppd/2.4.5 \ --with-resolvconf=/sbin/resolvconf \ --with-dhclient=/sbin/dhclient \ --with-iptables=/sbin/iptables \ @@ -16,6 +19,7 @@ override_dh_auto_configure: --with-crypto=gnutls \ --with-session-tracking=systemd \ --with-suspend-resume=systemd \ + --with-modem-manager-1 \ --disable-more-warnings \ --disable-modify-system \ --enable-polkit \ @@ -24,7 +28,6 @@ override_dh_auto_configure: --enable-introspection \ --enable-doc \ --enable-concheck \ - --with-modem-manager-1 \ --enable-bluez4 override_dh_install: @@ -38,7 +41,7 @@ override_dh_installinit: dh_installinit -pnetwork-manager --restart-after-upgrade override_dh_makeshlibs: - dh_makeshlibs -X/usr/lib/NetworkManager/ -X/usr/lib/pppd/ + dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/NetworkManager/ -X/usr/lib/pppd/ override_dh_strip: dh_strip --dbg-package=network-manager-dbg |