From 06a2c090710ee720c3e782a4cd5b8106a5d3d4b1 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sat, 7 May 2011 01:09:58 +0200 Subject: [PATCH] debian/patch/0002-fix_libupsclient_pc.patch: Fix libupsclient.pc (Closes: #624255) --- debian/changelog | 4 +++- debian/patches/0002-fix_libupsclient_pc.patch | 11 +++++++++++ debian/patches/series | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 debian/patches/0002-fix_libupsclient_pc.patch diff --git a/debian/changelog b/debian/changelog index 983c120..3ef7ebd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ nut (2.6.0-2) UNRELEASED; urgency=low * debian/nut-snmp.docs: Distribute snmp.txt doc file (Closes: #548295) * d/p/0001-fix_spelling_and_typo.patch: Update and refresh * debian/nut.lintian-overrides: Fix typo + * debian/patch/0002-fix_libupsclient_pc.patch: Fix libupsclient.pc (Closes: + #624255) - -- Laurent Bigonville Sun, 24 Apr 2011 23:55:12 +0200 + -- Laurent Bigonville Sat, 07 May 2011 01:07:39 +0200 nut (2.6.0-1) unstable; urgency=low diff --git a/debian/patches/0002-fix_libupsclient_pc.patch b/debian/patches/0002-fix_libupsclient_pc.patch new file mode 100644 index 0000000..0c50a0e --- /dev/null +++ b/debian/patches/0002-fix_libupsclient_pc.patch @@ -0,0 +1,11 @@ +diff --git a/lib/libupsclient.pc.in b/lib/libupsclient.pc.in +index eb6826c..4ad31fb 100644 +--- a/lib/libupsclient.pc.in ++++ b/lib/libupsclient.pc.in +@@ -9,5 +9,5 @@ nutuser=@RUN_AS_USER@ + Name: libupsclient + Description: UPS monitoring with Network UPS Tools + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -lupsclient @LIBSSL_LDFLAGS@ ++Libs: -L${libdir} -lupsclient @LIBSSL_LIBS@ + Cflags: -I${includedir} @LIBSSL_CFLAGS@ diff --git a/debian/patches/series b/debian/patches/series index 52e301b..4dd5e93 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-fix_spelling_and_typo.patch +0002-fix_libupsclient_pc.patch