summaryrefslogtreecommitdiffstats
path: root/debian/patches/makefile_w_link_systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:34:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:34:44 +0000
commitb08293e544fb5eb5e004f02139e4aa06660395b6 (patch)
tree4b00360b4f034158a87d15d0d6dd797c42270717 /debian/patches/makefile_w_link_systemd
parentAdding upstream version 2:4.0.4. (diff)
downloadprocps-b08293e544fb5eb5e004f02139e4aa06660395b6.tar.xz
procps-b08293e544fb5eb5e004f02139e4aa06660395b6.zip
Adding debian version 2:4.0.4-4.debian/2%4.0.4-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/makefile_w_link_systemd')
-rw-r--r--debian/patches/makefile_w_link_systemd18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/makefile_w_link_systemd b/debian/patches/makefile_w_link_systemd
new file mode 100644
index 0000000..3dfaac1
--- /dev/null
+++ b/debian/patches/makefile_w_link_systemd
@@ -0,0 +1,18 @@
+Description: Makefile link w to libsystemd
+Author: Craig Small <csmall@debian.org>
+Last-Update: 2023-08-31
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -149,6 +149,12 @@
+
+ dist_man_MANS += man/w.1
+ src_w_SOURCES = src/w.c local/fileutils.c
++if WITH_SYSTEMD
++src_w_LDADD = $(LDADD) @SYSTEMD_LIBS@
++else
++src_w_LDADD = $(LDADD)
++endif
++
+ else
+ EXTRA_DIST += man/w.1
+ endif