summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-08 20:41:55 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-08 20:41:55 +0000
commit720e0b144cabc48c65dc831b61602a10a2da5f90 (patch)
tree005b5aac27800b94d730580e49d59582938790ad /meta/classes/autotools.bbclass
parentfe553f406dda1c495d285c650846c9509f0c7e19 (diff)
downloadpoky-720e0b144cabc48c65dc831b61602a10a2da5f90.tar.gz
classes: Sync various classes with OE for various bugfixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass22
1 files changed, 10 insertions, 12 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 472249d2ea..fccf2b6d80 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -16,10 +16,9 @@ def autotools_dep_prepend(d):
16 if not pn in ['libtool', 'libtool-native', 'libtool-cross']: 16 if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
17 deps += 'libtool-native ' 17 deps += 'libtool-native '
18 if not bb.data.inherits_class('native', d) \ 18 if not bb.data.inherits_class('native', d) \
19 and not bb.data.inherits_class('cross', d) \ 19 and not bb.data.inherits_class('cross', d) \
20 and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1): 20 and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1):
21 deps += 'libtool-cross ' 21 deps += 'libtool-cross '
22
23 22
24 return deps + 'gnu-config-native ' 23 return deps + 'gnu-config-native '
25 24
@@ -124,14 +123,6 @@ autotools_do_configure() {
124 oenote Executing intltoolize --copy --force --automake 123 oenote Executing intltoolize --copy --force --automake
125 intltoolize --copy --force --automake 124 intltoolize --copy --force --automake
126 fi 125 fi
127 #if grep "^GTK_DOC_CHECK" $CONFIGURE_AC >/dev/null; then
128 # oenote Executing gtkdocize --copy
129 # gtkdocize --copy
130 #fi
131 #if grep "^GNOME_DOC_INIT" $CONFIGURE_AC >/dev/null; then
132 # oenote Executing gnome-doc-prepare --copy --force
133 # gnome-doc-prepare --copy --force
134 #fi
135 oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths 126 oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths
136 mkdir -p m4 127 mkdir -p m4
137 autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed." 128 autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed."
@@ -148,6 +139,13 @@ autotools_do_configure() {
148 139
149autotools_do_install() { 140autotools_do_install() {
150 oe_runmake 'DESTDIR=${D}' install 141 oe_runmake 'DESTDIR=${D}' install
142
143 for i in `find ${D} -name "*.la"` ; do \
144 sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
145 sed -i -e s:${D}::g $i
146 sed -i -e 's:-I${WORKDIR}\S*: :g' $i
147 sed -i -e 's:-L${WORKDIR}\S*: :g' $i
148 done
151} 149}
152 150
153STAGE_TEMP="${WORKDIR}/temp-staging" 151STAGE_TEMP="${WORKDIR}/temp-staging"