From df30cf708f27349f4a434b9a95b79e1d18503738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 9 Oct 2006 16:36:25 +0000 Subject: [PATCH] Check if any package wants to use unsermake as a build system or whole kde packages try to use this :( --- pisi/actionsapi/kde.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pisi/actionsapi/kde.py b/pisi/actionsapi/kde.py index 2031bffc..ab588e51 100644 --- a/pisi/actionsapi/kde.py +++ b/pisi/actionsapi/kde.py @@ -24,6 +24,7 @@ import pisi.actionsapi import pisi.actionsapi.get as get from pisi.actionsapi.shelltools import system from pisi.actionsapi.shelltools import can_access_file +from pisi.actionsapi.shelltools import export class ConfigureError(pisi.actionsapi.Error): def __init__(self, value=''): @@ -45,8 +46,13 @@ class InstallError(pisi.actionsapi.Error): self.value = value ctx.ui.error(value) -def configure(parameters = ''): +def configure(parameters = '', unsermake = False): ''' parameters = '--with-nls --with-libusb --with-something-usefull ''' + + ''' Check if any package wants to use unsermake as a build system''' + if not unsermake: + export("UNSERMAKE", "no") + if can_access_file('configure'): args = './configure \ --prefix=%s \