gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions
(From OE-Core rev: b60d0c57a2e16d690fd11c6349917efc57630004) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
40f95685e6
commit
287d018518
|
@ -31,7 +31,7 @@ PARALLEL_MAKE = ""
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
EXTRA_OECONF += "--without-lisp --disable-csharp --disable-openmp"
|
EXTRA_OECONF += "--without-lisp --disable-csharp --disable-openmp --without-emacs"
|
||||||
acpaths = '-I ${S}/autoconf-lib-link/m4/ \
|
acpaths = '-I ${S}/autoconf-lib-link/m4/ \
|
||||||
-I ${S}/gettext-runtime/m4 \
|
-I ${S}/gettext-runtime/m4 \
|
||||||
-I ${S}/gettext-tools/m4'
|
-I ${S}/gettext-tools/m4'
|
||||||
|
@ -53,3 +53,7 @@ do_configure_prepend() {
|
||||||
PACKAGES =+ "libgettextlib libgettextsrc"
|
PACKAGES =+ "libgettextlib libgettextsrc"
|
||||||
FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
|
FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
|
||||||
FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
|
FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
rm -f ${D}${libdir}/preloadable_libintl.so
|
||||||
|
}
|
||||||
|
|
|
@ -33,3 +33,8 @@ ALTERNATIVE_NAME = "awk"
|
||||||
ALTERNATIVE_PATH = "gawk"
|
ALTERNATIVE_PATH = "gawk"
|
||||||
ALTERNATIVE_LINK = "${bindir}/awk"
|
ALTERNATIVE_LINK = "${bindir}/awk"
|
||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
# remove the link since we don't package it
|
||||||
|
rm ${D}${bindir}/awk
|
||||||
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ do_install () {
|
||||||
mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN}
|
mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN}
|
||||||
mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN}
|
mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN}
|
||||||
mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN}
|
mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN}
|
||||||
|
rmdir ${D}${bindir}/
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_${PN} () {
|
||||||
|
|
|
@ -18,6 +18,7 @@ do_install () {
|
||||||
autotools_do_install
|
autotools_do_install
|
||||||
install -d ${D}${base_bindir}
|
install -d ${D}${base_bindir}
|
||||||
mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
|
mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
|
||||||
|
rmdir ${D}${bindir}/
|
||||||
}
|
}
|
||||||
|
|
||||||
ALTERNATIVE_NAME = "sed"
|
ALTERNATIVE_NAME = "sed"
|
||||||
|
|
Loading…
Reference in New Issue