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
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import os,sys
|
import os
|
||||||
|
|
||||||
#sys.path.append('..')
|
|
||||||
from pisi.context import Context
|
|
||||||
|
|
||||||
def libtoolize():
|
def libtoolize():
|
||||||
''' FIXME: Düzgün hale getirilecek '''
|
''' FIXME: Düzgün hale getirilecek '''
|
||||||
''' patch source with ltmain patches '''
|
''' patch source with ltmain patches '''
|
||||||
|
|
||||||
# no need to create a context for calling static functions
|
# This is wrong! Action files should only operate on the build
|
||||||
# currently staticmethods doesn't work in Contex but this function isn't used to ;)
|
# 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() + '/portage-1.4.1.patch')
|
||||||
os.system('patch -sN < ' + Context.lib_dir() + '/sed-1.4.0.patch')
|
os.system('patch -sN < ' + Context.lib_dir() + '/sed-1.4.0.patch')
|
||||||
|
|||||||
Reference in New Issue
Block a user