Daha önce kafamı karıştıran şeyi buldum.

actionsapi'nin build/install dizini dışında başka bir konumdan dosyaya/dizine
ihtiyaç duymaması gerekiyor. Dolayısı ile libtoolize() fonksiyonu yanlış.
Bir yama yapılacaksa, bırakalım PisiBuild işini yapsın...
This commit is contained in:
Barış Metin
2005-06-16 20:51:40 +00:00
parent a8eff5a961
commit edd6a0bfe5
+4 -6
View File
@@ -1,16 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os,sys
#sys.path.append('..')
from pisi.context import Context
import os
def libtoolize():
''' FIXME: Düzgün hale getirilecek '''
''' patch source with ltmain patches '''
# no need to create a context for calling static functions
# currently staticmethods doesn't work in Contex but this function isn't used to ;)
# This is wrong! Action files should only operate on the build
# directory. And shouldn't depend on external files. If a patch is
# need to be applied it is PisiBuild's job to do it!
os.system('patch -sN < ' + Context.lib_dir() + '/portage-1.4.1.patch')
os.system('patch -sN < ' + Context.lib_dir() + '/sed-1.4.0.patch')