jer         14/12/04 10:01:39

  Added:                nfdump-1.6.13-libft.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-analyzer/nfdump/files/nfdump-1.6.13-libft.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/files/nfdump-1.6.13-libft.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/files/nfdump-1.6.13-libft.patch?rev=1.1&content-type=text/plain

Index: nfdump-1.6.13-libft.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -109,9 +109,8 @@
        if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
                AC_MSG_ERROR(ftlib.h file not found in flow-tools directory 
'$WHERE_FTPATH'. Use --with-ftpath=PATH)
        fi
-       if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
-               AC_MSG_ERROR(libft.a not found in flow-tools directory 
'$WHERE_FTPATH'. Build flow tools first)
-       fi
+       AC_CHECK_LIB([ft], [main],,
+               AC_MSG_ERROR(libft not found in flow-tools directory 
'$WHERE_FTPATH'. Build flow tools first))
        FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
        FT_LDFLAGS="-L$WHERE_FTPATH/lib"
 else




Reply via email to