| Submitter | Marcin Juszkiewicz |
|---|---|
| Date | Sept. 18, 2012, 9 a.m. |
| Message ID | <1347958808-20182-2-git-send-email-marcin.juszkiewicz@linaro.org> |
| Download | mbox | patch |
| Permalink | /patch/36711/ |
| State | New |
| Headers | show |
Comments
On 18 September 2012 10:00, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote: > +# Update gnu-config files to version used by OE-Core > +do_configure_prepend() { > + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.{guess,sub} ${S} > +} Why can't the autotools class do this for every package? (IIRC, Debian recommends this too) Ross
W dniu 18.09.2012 13:20, Burton, Ross pisze: > On 18 September 2012 10:00, Marcin Juszkiewicz > <marcin.juszkiewicz@linaro.org> wrote: >> +# Update gnu-config files to version used by OE-Core >> +do_configure_prepend() { >> + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.{guess,sub} ${S} >> +} > > Why can't the autotools class do this for every package? It does it in own do_configure by calling 'autoreconf'. But some packages have their version of this function.
Patch
diff --git a/meta/recipes-support/db/db_5.3.15.bb b/meta/recipes-support/db/db_5.3.15.bb index 063954a..425be59 100644 --- a/meta/recipes-support/db/db_5.3.15.bb +++ b/meta/recipes-support/db/db_5.3.15.bb @@ -71,6 +71,11 @@ MUTEX_arm = "${ARM_MUTEX}" MUTEX_armeb = "${ARM_MUTEX}" EXTRA_OECONF += "${MUTEX}" +# Update gnu-config files to version used by OE-Core +do_configure_prepend() { + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.{guess,sub} ${S} +} + # Cancel the site stuff - it's set for db3 and destroys the # configure. CONFIG_SITE = ""
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> --- meta/recipes-support/db/db_5.3.15.bb | 5 +++++ 1 file changed, 5 insertions(+)