Baptiste Daroussin <b...@freebsd.org> writes:

> Log:
>   The GNU readline library is now an INTERNALLIB - that is, it is
>   statically linked into consumers (GDB and variants) in the base
>   system, and the shared library is no longer installed.

WITH_LLDB=t build is broken because libedit doesn't install readline
compatibility headers.

In file included from 
usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Driver.cpp:10:
In file included from 
usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Driver.h:13:
usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Platform.h:105:18:
 fatal error:
      'readline/readline.h' file not found
        #include <readline/readline.h>
                 ^
1 error generated.
*** Error code 1

Index: usr.bin/clang/lldb/Makefile
===================================================================
--- usr.bin/clang/lldb/Makefile (revision 268495)
+++ usr.bin/clang/lldb/Makefile (working copy)
@@ -6,7 +6,7 @@ PROG_CXX=lldb
 
 LLDB_SRCS=${.CURDIR}/../../../contrib/llvm/tools/lldb
 
-CFLAGS+=       -I${LLDB_SRCS}/include
+CFLAGS+=       -I${LLDB_SRCS}/include -I${.CURDIR}/../../../lib/libedit/edit
 CXXFLAGS+=     -std=c++11
 
 SRCDIR=        tools/lldb/tools/driver

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to