Skip to content

Commit

Permalink
Fix build on Trixie, depend on systemd-dev | systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
dallmair committed Dec 28, 2024
1 parent b560e73 commit 1d1e50a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Build-Depends: debhelper-compat (=13),
libusb-1.0-0-dev (>= 1.0.9),
pkgconf | pkg-config,
libsystemd-dev (>= 228) | libsystemd-daemon-dev (>= 200) | base-files (<< 8),
systemd-dev | systemd,
libev-dev,
libfmt-dev | libfmt3-dev | cmake (>= 2.8.12),
libfmt-dev | libfmt3-dev | git,
Expand Down
6 changes: 3 additions & 3 deletions debian/knxd.install.systemd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
etc/knxd.conf
lib/systemd/system/knxd.service
lib/systemd/system/knxd.socket
lib/systemd/system/knxd-net.socket
${deb_systemdsystemunitdir}/knxd.service
${deb_systemdsystemunitdir}/knxd.socket
${deb_systemdsystemunitdir}/knxd-net.socket
usr/lib/sysusers.d
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all


# This has to be exported to make some magic below work.
export DH_OPTIONS

export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)

%:
dh $@

Expand Down

0 comments on commit 1d1e50a

Please sign in to comment.