if pkgName in [ "glibc"]:
command += " --define='_sbindir /usr/sbin'"
- if pkgName in ["freetype","popt","pcre","which","findutils","coreutils"]:
+ if pkgName in ["freetype","popt","pcre","which","findutils","tizen-coreutils"]:
oe_runconf2='''oe_runconf2'''
command += " --define='%%_configure %s'" % oe_runconf2
tmpSpecFile.write(currentSpecString)
tmp_package_spec_path=tmpSpecFile.name
-
-
-
-
if pkgName in ["attr","acl"] :
command += " --define='_libdir \${base_prefix}/lib'"
command += " --define='_libexecdir \${base_prefix}/usr/lib'"
-
+ if pkgName== "python-base":
+ with open(tmp_package_spec_path,'r') as currentSpecFile:
+ currentSpecString=currentSpecFile.read()
+
+ currentSpecString=currentSpecString.replace('Makefile.pre.in\n','Makefile.pre.in ||:\n')
+
+ with tempfile.NamedTemporaryFile(mode='w',
+ suffix='tmp',
+ prefix=os.path.basename(tmp_package_spec_path),
+ delete=False) as tmpSpecFile:
+ tmpSpecFile.write(currentSpecString)
+
+ tmp_package_spec_path=tmpSpecFile.name
+
+
if self.__packagePN == "dbus-initial":
with open(tmp_package_spec_path,'r') as currentSpecFile:
currentSpecString=currentSpecFile.read()