From 2c39befb0075ed4ae319816db43439fc588a1285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Wed, 1 Aug 2007 01:29:30 +0000 Subject: [PATCH] replace --host with --build to make it work correctly --- pisi/actionsapi/autotools.py | 4 ++-- pisi/actionsapi/kde.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/actionsapi/autotools.py b/pisi/actionsapi/autotools.py index 1b89479f..8b7ec62e 100644 --- a/pisi/actionsapi/autotools.py +++ b/pisi/actionsapi/autotools.py @@ -60,7 +60,7 @@ def configure(parameters = ''): args = './configure \ --prefix=/%s \ - --host=%s \ + --build=%s \ --mandir=/%s \ --infodir=/%s \ --datadir=/%s \ @@ -85,7 +85,7 @@ def rawConfigure(parameters = ''): raise ConfigureError(_('Configure failed.')) else: raise ConfigureError(_('No configure script found.')) - + def compile(parameters = ''): #FIXME: Only one package uses this until now, hmmm system('%s %s %s' % (get.CC(), get.CFLAGS(), parameters)) diff --git a/pisi/actionsapi/kde.py b/pisi/actionsapi/kde.py index 7c9133dd..b0330a5f 100644 --- a/pisi/actionsapi/kde.py +++ b/pisi/actionsapi/kde.py @@ -50,7 +50,7 @@ def configure(parameters = ''): if can_access_file('configure'): args = './configure \ --prefix=%s \ - --host=%s \ + --build=%s \ --with-x \ --enable-mitshm \ --with-xinerama \