Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1493245
 поиск   регистрация   авторизация 
 
Группа :: Базы Данных
Пакет: xapian

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: xapian-core-0.9.2-alt-libtool.patch


diff -Naur xapian-core-0.9.2-orig/xapian-config.in xapian-core-0.9.2/xapian-config.in
--- xapian-core-0.9.2-orig/xapian-config.in	2005-07-15 13:21:53 +0300
+++ xapian-core-0.9.2/xapian-config.in	2006-02-06 17:42:17 +0200
@@ -131,8 +131,6 @@
 	L=
 	test /usr/lib != "$libdir" && L="-L$libdir "
 	D=
-	eval `grep ^dependency_libs= "$libdir/libxapian.la"`
-	test -n "$dependency_libs" && D=" $dependency_libs"
 	echo "$F$L-lxapian$D"
 	;;
 
@@ -152,8 +150,11 @@
 	    exit 0
 	fi
 
-	echo "$0: Can't find libxapian.la to link against." 1>&2
-	exit 1
+	L=
+	test /usr/lib != "$libdir" && L="-L$libdir "
+	D=
+	echo "$F$L-lxapian$D"
+    	exit 0
 	;;
 
     *)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005