tags 624255 +patch
thanks

On Wed, Apr 27, 2011 at 08:32:26AM +0200, Sebastian Harl wrote:
> I've reassigned the bug to libupsclient1-dev. I suppose that
> LIBSSL_LDFLAGS has to be replaced with LIBSSL_LIBS in
> lib/libupsclient.pc.in (and lib/libupsclient-config.in).

Sebastian looks to be correct here, I've tried building the package with the
attached patch, and the resulting .pc file is correctly generated with the
appropriate libraries.

To the 'nut' maintainer(s): are you able to upload a new version of the
package with the fix in the next few days? If not, I'm happy to NMU. This
issue is currently one of the blockers for the perl 5.12 transition (via
collectd).

-- 
Chris Butler <chr...@debian.org>
  GnuPG Key ID: 4096R/49E3ACD3
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@

Reply via email to