summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 16:30:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 16:30:37 +0000
commitb60d0c57a2e16d690fd11c6349917efc57630004 (patch)
tree0bb4b4f34631ae21d2ded10dda4d2687952b5b84 /meta/recipes-extended
parent7a98c0ef28822ae1fcee45b14db3edcfd4c7ad8f (diff)
downloadopenembedded-core-b60d0c57a2e16d690fd11c6349917efc57630004.tar.gz
openembedded-core-b60d0c57a2e16d690fd11c6349917efc57630004.tar.bz2
openembedded-core-b60d0c57a2e16d690fd11c6349917efc57630004.tar.xz
openembedded-core-b60d0c57a2e16d690fd11c6349917efc57630004.zip
gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/gawk/gawk_3.1.5.bb5
-rw-r--r--meta/recipes-extended/grep/grep_2.5.1a.bb1
-rw-r--r--meta/recipes-extended/sed/sed_4.1.2.bb1
3 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk_3.1.5.bb b/meta/recipes-extended/gawk/gawk_3.1.5.bb
index bd8460d79..d5d9beaa4 100644
--- a/meta/recipes-extended/gawk/gawk_3.1.5.bb
+++ b/meta/recipes-extended/gawk/gawk_3.1.5.bb
@@ -33,3 +33,8 @@ ALTERNATIVE_NAME = "awk"
ALTERNATIVE_PATH = "gawk"
ALTERNATIVE_LINK = "${bindir}/awk"
ALTERNATIVE_PRIORITY = "100"
+
+do_install_append() {
+ # remove the link since we don't package it
+ rm ${D}${bindir}/awk
+}
diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb
index bb4f53fb0..64064fc5c 100644
--- a/meta/recipes-extended/grep/grep_2.5.1a.bb
+++ b/meta/recipes-extended/grep/grep_2.5.1a.bb
@@ -27,6 +27,7 @@ do_install () {
mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN}
mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN}
mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN}
+ rmdir ${D}${bindir}/
}
pkg_postinst_${PN} () {
diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb
index 713524c41..8baa180f7 100644
--- a/meta/recipes-extended/sed/sed_4.1.2.bb
+++ b/meta/recipes-extended/sed/sed_4.1.2.bb
@@ -18,6 +18,7 @@ do_install () {
autotools_do_install
install -d ${D}${base_bindir}
mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
+ rmdir ${D}${bindir}/
}
ALTERNATIVE_NAME = "sed"