Package: libcap-ng-dev
Version: 0.6.2-1
Severity: normal
Tags: patch

During compilation of libcap-ng, dh_install complains that the .pc file
provided by upstream was not installed. Installing this file would allow
various build systems to work well with libcap-ng: for instance, the
LIBCAP_NG_PATH autoconf macro becomes unnecessary, since PKG_CHECK_MODULES
can be used.

The obvious patch follows. When building packages with this patch, the
installed .pc file seems to have sane contents.

Regards,
    Simon

diff -u libcap-ng-0.6.2/debian/libcap-ng-dev.install 
libcap-ng-0.6.2/debian/libcap-ng-dev.install
--- libcap-ng-0.6.2/debian/libcap-ng-dev.install
+++ libcap-ng-0.6.2/debian/libcap-ng-dev.install
@@ -3,4 +3,5 @@
 usr/lib/lib*.so
 usr/lib/*.la
+usr/lib/pkgconfig/*.pc
 usr/share/aclocal/*
 usr/share/man/man3/*

Attachment: signature.asc
Description: Digital signature

Reply via email to