From 2cab28711d0673c1c9ad231f08b3a6f4987a158f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 29 Jun 2006 22:47:30 +0000 Subject: [PATCH] =?UTF-8?q?hacky=20yola=20g=C3=BCle=20g=C3=BCle,=20libtool?= =?UTF-8?q?'lar=C4=B1=20d=C3=BCzeltme=20i=C5=9Fi=20libtool'a=20port=20edil?= =?UTF-8?q?di.=20Fakat=20=C3=96NEML=C4=B0=20NOT:=20libtool=20pisinin=20?= =?UTF-8?q?=C5=9Fu=20an=20oldu=C4=9Fu=20gibi=20INSTALL=5FDIR=20ve=20WORK?= =?UTF-8?q?=5FDIR=20env.=20de=C4=9Fi=C5=9Fkenlerini=20export=20etti=C4=9Fi?= =?UTF-8?q?ni=20varsayarak=20yamaland=C4=B1,=20o=20k=C4=B1s=C4=B1mdaki=20d?= =?UTF-8?q?e=C4=9Fi=C5=9Fiklikler=20libtool=20yamas=C4=B1n=C4=B1nda=20de?= =?UTF-8?q?=C4=9Fi=C5=9Fmesini=20gerektirecek...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/util.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pisi/util.py b/pisi/util.py index 8bc638bf..ff09c9a4 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -522,16 +522,6 @@ def strip_directory(top, excludelist=[]): ctx.const.debug_dir_suffix, remove_prefix(top, frpath)) - # Some upstream sources have buggy libtool and ltmain.sh with them, - # which causes wrong path entries in *.la files. And these wrong path - # entries sometimes triggers compile-time errors or linkage problems. - # Instead of patching all these buggy sources and maintain these patches, - # PISI removes wrong paths... - extension = os.path.splitext(frpath)[1] - if extension == ".la": - # FIXME: I'm regular expr. idiot, so one can convert this to python... - os.system("sed -i -e 's~-L/var/tmp/pisi/[[:graph:]]* ~~g' %s" % frpath) - # real path in .pisi package p = '/' + removepathprefix(top, frpath) strip = True