pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45495



The following reply was made to PR pkg/45495; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45495
Date: Tue, 25 Oct 2011 21:14:25 +0300

 The problem here is that
 1) You have libedit library installed on your system.
 2) Locally installed libedit exports strvis and strunviz symbols
 3) tnftp's configure.ac checks for libedit existance and if
    it exists it modifies LIBS variable which is used LATER at
    the moment AC_REPLACE_FUNCS(strvis strunvis) are run.
 4) Finally tnftp forcebly uses local libedit implementation that
    doesn't provide strvis and strunvis functions.
 
 Please confirm that the following patch solves the problem.
 It does so on my system.
 Take a note that after applying the patch you MUST
 regenerate "configure" script under files/ directory.
 Run
 
     cd files; autoconf
 
 for this.
 
 Index: configure.ac
 ===================================================================
 RCS file: /cvsroot/pkgsrc/net/tnftp/files/configure.ac,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 configure.ac
 --- configure.ac        6 Aug 2007 04:42:53 -0000       1.1.1.1
 +++ configure.ac        25 Oct 2011 18:02:41 -0000
 @@ -84,10 +84,7 @@
                        [termcap termlib curses ncurses tinfo],
                        [],
                        [AC_MSG_ERROR(
 -                           [no relevant library found containing tgetent])])
 -       AC_SEARCH_LIBS([el_init],
 -                      [edit],
 -                      [have_libedit=yes], [have_libedit=no])])
 +                           [no relevant library found containing tgetent])])])
  
  AC_SEARCH_LIBS([gethostbyname], [nsl])
  AC_SEARCH_LIBS([socket],
 


Home | Main Index | Thread Index | Old Index