debian/rules: Link against libbsd on kfreebsd (Closes: #874301)

This commit is contained in:
Laurent Bigonville
2020-02-18 09:26:25 +01:00
parent ed6152c296
commit f7ee4fa02e
2 changed files with 7 additions and 0 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
libgtop2 (2.40.0-3) UNRELEASED; urgency=medium
* debian/rules: Link against libbsd on kfreebsd (Closes: #874301)
-- Laurent Bigonville <bigon@debian.org> Tue, 18 Feb 2020 09:26:06 +0100
libgtop2 (2.40.0-2) unstable; urgency=medium
* Build-Depend on debhelper-compat 12 and drop debian/compat

1
debian/rules vendored
View File

@@ -7,6 +7,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
CPPFLAGS += $(shell pkg-config --cflags libbsd-overlay)
LDFLAGS += $(shell pkg-config --libs libbsd-overlay)
endif
%: