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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user