diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-02-26 13:02:31 +0000 |
|---|---|---|
| committer | Ross Burton <ross.burton@arm.com> | 2025-02-27 20:28:17 +0000 |
| commit | 4089a0c02122508735b3dc0fb6f9cb31968d96f0 (patch) | |
| tree | 4518fb629f25f29b7d5c93036c260e9d5904046d | |
| parent | a855313be086db7e82fa2847a2c05794272d57f6 (diff) | |
| download | meta-openembedded-4089a0c02122508735b3dc0fb6f9cb31968d96f0.tar.gz | |
zsh: modernise autoconf use
No need to manually write do_configure, the config.h.in is generated
with autoheader so don't disable that, but disable aclocal as that file
is hand-maintained.
Signed-off-by: Ross Burton <ross.burton@arm.com>
| -rw-r--r-- | meta-oe/recipes-shells/zsh/zsh_5.9.bb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta-oe/recipes-shells/zsh/zsh_5.9.bb b/meta-oe/recipes-shells/zsh/zsh_5.9.bb index b0961fd789..dd960856e0 100644 --- a/meta-oe/recipes-shells/zsh/zsh_5.9.bb +++ b/meta-oe/recipes-shells/zsh/zsh_5.9.bb | |||
| @@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d | |||
| 15 | 15 | ||
| 16 | inherit autotools gettext update-alternatives manpages | 16 | inherit autotools gettext update-alternatives manpages |
| 17 | 17 | ||
| 18 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
| 19 | |||
| 18 | EXTRA_OECONF = " \ | 20 | EXTRA_OECONF = " \ |
| 19 | --bindir=${base_bindir} \ | 21 | --bindir=${base_bindir} \ |
| 20 | --enable-etcdir=${sysconfdir} \ | 22 | --enable-etcdir=${sysconfdir} \ |
| @@ -39,16 +41,9 @@ ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" | |||
| 39 | ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" | 41 | ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" |
| 40 | ALTERNATIVE_PRIORITY = "90" | 42 | ALTERNATIVE_PRIORITY = "90" |
| 41 | 43 | ||
| 42 | export AUTOHEADER = "true" | ||
| 43 | |||
| 44 | # Needed for manpages.bbclass, but they're always installed | 44 | # Needed for manpages.bbclass, but they're always installed |
| 45 | PACKAGECONFIG[manpages] = "" | 45 | PACKAGECONFIG[manpages] = "" |
| 46 | 46 | ||
| 47 | do_configure () { | ||
| 48 | gnu-configize --force ${S} | ||
| 49 | oe_runconf | ||
| 50 | } | ||
| 51 | |||
| 52 | do_install:append() { | 47 | do_install:append() { |
| 53 | sed -i -e '1!b; s:^#!.*[ /]zsh:#!${bindir}/zsh:; s#/usr/local/bin#${bindir}#;' \ | 48 | sed -i -e '1!b; s:^#!.*[ /]zsh:#!${bindir}/zsh:; s#/usr/local/bin#${bindir}#;' \ |
| 54 | `find ${D}/usr/share/zsh/${PV}/functions -type f` | 49 | `find ${D}/usr/share/zsh/${PV}/functions -type f` |
