diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 16:37:03 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-04 10:38:26 +0100 |
| commit | 103b9f442bb2b9cd1994a75a5d9bfbbdd9b2f1f3 (patch) | |
| tree | 4c497770268fc2c08abc23f976aebbce86b5b0a9 /meta/recipes-support/vim | |
| parent | 355171f4e305b39662090ba07536f439d4cc18c1 (diff) | |
| download | poky-103b9f442bb2b9cd1994a75a5d9bfbbdd9b2f1f3.tar.gz | |
vim: Clarify where RDEPENDS/RRECOMMENDS apply
The tricky of using BPN in a common inc file is rather hard to understand.
Simplfy this by moving it to the base vim recipe and use the standard
variable form.
(From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim')
| -rw-r--r-- | meta/recipes-support/vim/vim.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-support/vim/vim_8.2.bb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 9e4117466e..17d1c24a7c 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc | |||
| @@ -140,10 +140,6 @@ FILES:${PN}-common = " \ | |||
| 140 | ${datadir}/icons \ | 140 | ${datadir}/icons \ |
| 141 | " | 141 | " |
| 142 | 142 | ||
| 143 | RDEPENDS:${BPN} = "ncurses-terminfo-base" | ||
| 144 | # Recommend that runtime data is installed along with vim | ||
| 145 | RRECOMMENDS:${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | ||
| 146 | |||
| 147 | ALTERNATIVE:${PN} = "vi vim" | 143 | ALTERNATIVE:${PN} = "vi vim" |
| 148 | ALTERNATIVE_PRIORITY = "100" | 144 | ALTERNATIVE_PRIORITY = "100" |
| 149 | ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" | 145 | ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" |
diff --git a/meta/recipes-support/vim/vim_8.2.bb b/meta/recipes-support/vim/vim_8.2.bb index 3c1b98dca0..f358e61132 100644 --- a/meta/recipes-support/vim/vim_8.2.bb +++ b/meta/recipes-support/vim/vim_8.2.bb | |||
| @@ -2,6 +2,10 @@ require vim.inc | |||
| 2 | 2 | ||
| 3 | PROVIDES = "xxd" | 3 | PROVIDES = "xxd" |
| 4 | 4 | ||
| 5 | RDEPENDS:${PN} = "ncurses-terminfo-base" | ||
| 6 | # Recommend that runtime data is installed along with vim | ||
| 7 | RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | ||
| 8 | |||
| 5 | PACKAGECONFIG:class-native = "" | 9 | PACKAGECONFIG:class-native = "" |
| 6 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
| 7 | 11 | ||
