Package: readline5 
Severity: important
Version: 5.1-2
Tags: patch

Hi,

recent versions of readline5 fails to build on GNU/kFreeBSD, see 
http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=readline5

On GNU/kFreeBSD rlfe have to be linked to libutil,
appropriate check is already in configure.in/configure, 
but result have to be propagated into Makefile.
Please find patch bellow to fix that. 

It would also be nice if you can ask upstream 
to include this change.

Thanks in advance

                        Petr


--- examples/rlfe/Makefile.in~  2005-12-14 11:12:06.000000000 +0100
+++ examples/rlfe/Makefile.in   2005-12-14 11:12:06.000000000 +0100
@@ -25,7 +25,7 @@
 CPPFLAGS = @CPPFLAGS@
 #LDFLAGS = -L$(READLINE_DIR)
 LDFLAGS = @LDFLAGS@
-LIBS = -lreadline -lhistory -lncurses
+LIBS = -lreadline -lhistory -lncurses @LIBS@
 
 [EMAIL PROTECTED]@
 CPP_DEPEND=$(CC) -MM





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to