debian/rules, debian/control: Override --with-systemdshutdowndir passed to configure to fix FTBFS on non-linux architectures and do not build-depend against systemd
This commit is contained in:
parent
34f0448c77
commit
247c516a79
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -45,8 +45,11 @@ nut (2.7.4-9) UNRELEASED; urgency=medium
|
|||
in libnutclient.pc.in for consistency
|
||||
* debian/patches/0009-fix-nutshutdown-install.patch: Use patch coming from
|
||||
upstream instead of our own patch
|
||||
* debian/rules, debian/control: Override --with-systemdshutdowndir passed to
|
||||
configure to fix FTBFS on non-linux architectures and do not build-depend
|
||||
against systemd
|
||||
|
||||
-- Laurent Bigonville <bigon@debian.org> Thu, 01 Aug 2019 14:55:56 +0200
|
||||
-- Laurent Bigonville <bigon@debian.org> Thu, 01 Aug 2019 14:59:17 +0200
|
||||
|
||||
nut (2.7.4-8) unstable; urgency=medium
|
||||
|
||||
|
|
3
debian/control
vendored
3
debian/control
vendored
|
@ -16,8 +16,7 @@ Build-Depends: debhelper (>= 12),
|
|||
libusb-dev (>= 0.1.8),
|
||||
libwrap0-dev (>= 7.6),
|
||||
python (>= 2.6.6-3~),
|
||||
python3,
|
||||
systemd [linux-any]
|
||||
python3
|
||||
Build-Depends-Indep: asciidoc (>= 8.6.3),
|
||||
asciidoc-dblatex,
|
||||
dblatex (>= 0.2.5),
|
||||
|
|
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -24,7 +24,8 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix= \
|
|||
--datadir=/usr/share/nut \
|
||||
--with-pkgconfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
|
||||
--with-user=nut --with-group=nut \
|
||||
--with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system
|
||||
--with-udev-dir=/lib/udev --with-systemdsystemunitdir=/lib/systemd/system \
|
||||
--with-systemdshutdowndir=/lib/systemd/system-shutdown
|
||||
|
||||
# only build documentation if asciidoc is installed
|
||||
ifneq ($(shell which asciidoc),)
|
||||
|
|
Loading…
Reference in New Issue
Block a user