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
3 changed files with 7 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue