vim: use BPN instead of PN to fix multilib build
PATCH 1/3 vim: use BPN instead of PN to fix multilib build
From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- meta-oe/recipes-support/vim/vim_7.4.258.bb | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-)
meta-oe/recipes-support/vim/vim_7.4.258.bb +24 -24
@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ " SRCREV = "v7-4-258" -S = "${WORKDIR}/${PN}/src" +S = "${WORKDIR}/${BPN}/src" -VIMDIR = "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" +VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" inherit autotools update-alternatives inherit autotools-brokensep
@@ -61,41 +61,41 @@ EXTRA_OECONF = " \ do_install_append() { # Work around rpm picking up csh or awk as a dep - chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132 - chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk + chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 + chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk # Install example vimrc from runtime files - install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc + install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc } PARALLEL_MAKEINST = "" PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data" -FILES_${PN}-syntax = "${datadir}/${PN}/${VIMDIR}/syntax" -FILES_${PN}-help = "${datadir}/${PN}/${VIMDIR}/doc" -FILES_${PN}-tutor = "${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor" -FILES_${PN}-vimrc = "${datadir}/${PN}/vimrc" -FILES_${PN}-data = "${datadir}/${PN}" +FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax" +FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc" +FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${PN}tutor" +FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc" +FILES_${PN}-data = "${datadir}/${BPN}" FILES_${PN}-common = " \ - ${datadir}/${PN}/${VIMDIR}/*.vim \ - ${datadir}/${PN}/${VIMDIR}/autoload \ - ${datadir}/${PN}/${VIMDIR}/colors \ - ${datadir}/${PN}/${VIMDIR}/compiler \ - ${datadir}/${PN}/${VIMDIR}/ftplugin \ - ${datadir}/${PN}/${VIMDIR}/indent \ - ${datadir}/${PN}/${VIMDIR}/keymap \ - ${datadir}/${PN}/${VIMDIR}/lang \ - ${datadir}/${PN}/${VIMDIR}/macros \ - ${datadir}/${PN}/${VIMDIR}/plugin \ - ${datadir}/${PN}/${VIMDIR}/print \ - ${datadir}/${PN}/${VIMDIR}/spell \ - ${datadir}/${PN}/${VIMDIR}/tools \ + ${datadir}/${BPN}/${VIMDIR}/*.vim \ + ${datadir}/${BPN}/${VIMDIR}/autoload \ + ${datadir}/${BPN}/${VIMDIR}/colors \ + ${datadir}/${BPN}/${VIMDIR}/compiler \ + ${datadir}/${BPN}/${VIMDIR}/ftplugin \ + ${datadir}/${BPN}/${VIMDIR}/indent \ + ${datadir}/${BPN}/${VIMDIR}/keymap \ + ${datadir}/${BPN}/${VIMDIR}/lang \ + ${datadir}/${BPN}/${VIMDIR}/macros \ + ${datadir}/${BPN}/${VIMDIR}/plugin \ + ${datadir}/${BPN}/${VIMDIR}/print \ + ${datadir}/${BPN}/${VIMDIR}/spell \ + ${datadir}/${BPN}/${VIMDIR}/tools \ " # Recommend that runtime data is installed along with vim RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data" ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}" +ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" ALTERNATIVE_PRIORITY[vi] = "100"
Signature · 1 line
1.7.9.5
PATCH 2/3 postgresql: use BP instead of P to fix multilib build
From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- meta-oe/recipes-support/postgresql/postgresql.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/postgresql/postgresql.inc +1 -1
@@ -24,7 +24,7 @@ INC_PR = "r0" ARM_INSTRUCTION_SET = "arm" -SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2 \ +SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \ file://postgresql.init \ file://postgresql-bashprofile \ file://postgresql.pam \
Signature · 1 line
1.7.9.5
PATCH 3/3 fbset: use BP instead of P to fix multilib build
In reply to [email protected]From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- meta-oe/recipes-support/fbset/fbset_2.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-support/fbset/fbset_2.1.bb +3 -3
@@ -22,9 +22,9 @@ inherit autotools-brokensep update-alternatives do_install() { install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5 - install -m 0755 ${WORKDIR}/${P}/fbset ${D}${sbindir}/fbset.real - install -m 0644 ${WORKDIR}/${P}/*.5 ${D}${datadir}/man/man5 - install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8 + install -m 0755 ${WORKDIR}/${BP}/fbset ${D}${sbindir}/fbset.real + install -m 0644 ${WORKDIR}/${BP}/*.5 ${D}${datadir}/man/man5 + install -m 0644 ${WORKDIR}/${BP}/*.8 ${D}${datadir}/man/man8 } ALTERNATIVE_fbset = "fbset"
Signature · 1 line
1.7.9.5