Patchwork [meta-xfce] xfce-git: Run autogen.sh in source directory

login
register
mail settings
Submitter Ash Charles
Date May 26, 2014, 4:57 p.m.
Message ID <1401123424-16520-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/72715/
State Accepted, archived
Headers show

Comments

Ash Charles - May 26, 2014, 4:57 p.m.
The autogen.sh script executed by the xfce-git.bbclass needs to be
run in and from the source directory.  The configuration step can
still be run from out-of-tree.

Currently, this affects these recipes:
 * libxfce4ui
 * xarchiver
 * xfce4-taskmanager
 * xfce4-closebutton-plugin
 * xfce4-settings
 * xfwm4

Upstream-Status: Inappropriate (configuration)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 meta-xfce/classes/xfce-git.bbclass | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-xfce/classes/xfce-git.bbclass b/meta-xfce/classes/xfce-git.bbclass
index c4be554..3fc18d2 100644
--- a/meta-xfce/classes/xfce-git.bbclass
+++ b/meta-xfce/classes/xfce-git.bbclass
@@ -1,5 +1,7 @@ 
 do_configure_prepend() {
+       cd ${S}
        NOCONFIGURE=yes ./autogen.sh
+       cd ${B}
 }
 
 AUTOTOOLS_COPYACLOCAL = "1"