Hello again,

could you check if the attached patch fixes the problem for you?
-- 
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
Ubuntu Developer
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
Description: Do not include -L/usr/lib to the LDFLAGS, this may cause build
 errors when trying to crosscompile.
Author: Andreas Moog <am...@ubuntu.com>
Bug-Debian: http://bugs.debian.org/722812
Forwarded: yes, per mail to hug...@sourceforge.net

Index: nzbget-11.0+dfsg/configure.ac
===================================================================
--- nzbget-11.0+dfsg.orig/configure.ac	2013-09-15 09:37:46.000000000 +0000
+++ nzbget-11.0+dfsg/configure.ac	2013-09-15 09:43:17.878828746 +0000
@@ -215,7 +215,6 @@
 AC_MSG_RESULT($USECURSES)
 if test "$USECURSES" = "yes"; then
 	INCVAL="${LIBPREF}/include"
-	LIBVAL="${LIBPREF}/lib"
 	AC_ARG_WITH(libcurses_includes,
 		[AS_HELP_STRING([--with-libcurses-includes=DIR], [libcurses include directory])],
 		[INCVAL="$withval"])
@@ -290,7 +289,6 @@
 	dnl checks for libpar2 includes and libraries.
 	dnl
 	INCVAL="${LIBPREF}/include"
-	LIBVAL="${LIBPREF}/lib"
 	AC_ARG_WITH(libpar2_includes,
 		[AS_HELP_STRING([--with-libpar2-includes=DIR], [libpar2 include directory])],
 		[INCVAL="$withval"])
@@ -384,7 +382,6 @@
 	
 	if test "$TLSLIB" = "GnuTLS" -o "$TLSLIB" = ""; then
 		INCVAL="${LIBPREF}/include"
-		LIBVAL="${LIBPREF}/lib"
 		AC_ARG_WITH(libgnutls_includes,
 			[AS_HELP_STRING([--with-libgnutls-includes=DIR], [GnuTLS include directory])],
 			[INCVAL="$withval"])
@@ -480,7 +477,6 @@
 AC_MSG_RESULT($USEZLIB)
 if test "$USEZLIB" = "yes"; then
 	INCVAL="${LIBPREF}/include"
-	LIBVAL="${LIBPREF}/lib"
 	AC_ARG_WITH(zlib_includes,
 		[AS_HELP_STRING([--with-zlib-includes=DIR], [zlib include directory])],
 		[INCVAL="$withval"])

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to