Really fix for good : remove the configure patch making it look for

liblibclang, which is now libclang.
Reported by naddy@ again. This time should be okay, i checked it
packaged :)
This commit is contained in:
landry 2012-12-26 15:07:18 +00:00
parent a94bbbc2a0
commit eb4641f199

View File

@ -1,38 +0,0 @@
$OpenBSD: patch-configure,v 1.2 2012/10/16 18:23:23 jasper Exp $
--- configure.orig Tue Oct 16 12:47:35 2012
+++ configure Tue Oct 16 12:48:01 2012
@@ -13441,13 +13441,13 @@ else
CFLAGS="$OLDCFLAGS $LLVM_CFLAGS"
LDFLAGS="$OLDLDFLAGS $LLVM_LIBS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang_createIndex in -lclang" >&5
-$as_echo_n "checking for clang_createIndex in -lclang... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang_createIndex in -llibclang" >&5
+$as_echo_n "checking for clang_createIndex in -llibclang... " >&6; }
if ${ac_cv_lib_clang_clang_createIndex+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lclang $LIBS"
+LIBS="-llibclang $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -13478,7 +13478,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clang_clang_createIndex" >&5
$as_echo "$ac_cv_lib_clang_clang_createIndex" >&6; }
if test "x$ac_cv_lib_clang_clang_createIndex" = xyes; then :
- LLVM_LIBS="$LLVM_LIBS -lclang"
+ LLVM_LIBS="$LLVM_LIBS -llibclang"
clang_enabled="yes"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find clang library" >&5
@@ -13501,7 +13501,7 @@ fi
fi
if test "x$clang_enabled" = "xyes"; then
- LLVM_LIBS="$LLVM_LIBS -lclang"
+ LLVM_LIBS="$LLVM_LIBS -llibclang"
fi