netkit-ftp: Use update-alternatives for ftp

So it can live with other providers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-09-01 15:17:32 -07:00
parent 915844297a
commit 6cfa5d0ed8
@@ -16,7 +16,7 @@ SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993d
SRC_URI[patch31.md5sum] = "93d71e28ce70df69e080c7f90da63cac"
SRC_URI[patch31.sha256sum] = "4edd46a32d70daa7ba00f0ebf0118dc5d17dff23d6e46aa21a2722be2e22d1c1"
inherit autotools-brokensep
inherit autotools-brokensep update-alternatives
CLEANBROKEN = "1"
@@ -47,3 +47,7 @@ FILES_${PN}-dbg = "${prefix}/src/debug \
${bindir}/.debug"
RDEPENDS_${PN} = "readline"
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_${PN} = "ftp"
ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp"