diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-12-05 20:21:11 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-12-05 23:04:38 +0530 |
commit | 41e0b5521b689ed98c5119616d7a18790d1cab0c (patch) | |
tree | 891127f206cbb9387679e5224526b38c938d9a1d /eclass/gnome2-live.eclass | |
parent | dev-util/sysprof: Fix icon installation dirs (diff) | |
download | gnome-41e0b5521b689ed98c5119616d7a18790d1cab0c.tar.gz gnome-41e0b5521b689ed98c5119616d7a18790d1cab0c.tar.bz2 gnome-41e0b5521b689ed98c5119616d7a18790d1cab0c.zip |
eclass/gnome2-live: create missing macro dirs
* Sometimes macro directories are missing and that causes aclocal to fail
gnome-autogen.sh runs libtoolize before aclocal which creates those dirs.
* We can't run libtoolize, and elibtoolize just does some libtool patching,
so we create those directories manually.
Diffstat (limited to 'eclass/gnome2-live.eclass')
-rw-r--r-- | eclass/gnome2-live.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass index 32454167..8fed62d1 100644 --- a/eclass/gnome2-live.eclass +++ b/eclass/gnome2-live.eclass @@ -61,6 +61,12 @@ gnome2-live_src_prepare() { epatch "${i}" done + # Find and create macro dirs + macro_dirs=($(sed -ne 's/AC_CONFIG_MACRO_DIR(\(.*\))/\1/p' configure.* | tr -d '[]')) + for i in "${macro_dirs[@]}"; do + mkdir -p "$i" + done + if grep -qe 'GTK_DOC' configure.*; then gtkdocize fi @@ -88,7 +94,7 @@ gnome2-live_src_prepare() { # Prevent scrollkeeper access violations gnome2_omf_fix - # Run libtoolize + # Libtool patching elibtoolize ${ELTCONF} } |