diff options
Diffstat (limited to 'meta/classes/autotools.bbclass')
| -rw-r--r-- | meta/classes/autotools.bbclass | 22 |
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 | ||
| 149 | autotools_do_install() { | 140 | autotools_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 | ||
| 153 | STAGE_TEMP="${WORKDIR}/temp-staging" | 151 | STAGE_TEMP="${WORKDIR}/temp-staging" |
