aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/pimd/pimd_2.3.2.bb')
-rw-r--r--meta-networking/recipes-support/pimd/pimd_2.3.2.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
index 2faa7cb1ce..647f9df515 100644
--- a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
+++ b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
@@ -4,17 +4,20 @@ SECTION = "net"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790"
-SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.gz \
+SRC_URI = "https://ftp.troglobit.com/pimd/${BP}.tar.gz \
file://0001-configure-Dont-use-uname-to-determine-target-OS.patch \
"
-SRC_URI[md5sum] = "a3c03e40540980b2c06e265a17988e60"
SRC_URI[sha256sum] = "c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d"
-EXTRA_OECONF_append_libc-musl = " --embedded-libc"
+EXTRA_OECONF:append:libc-musl = " --embedded-libc"
-inherit autotools-brokensep
+inherit autotools-brokensep update-alternatives
do_configure() {
oe_runconf
}
+ALTERNATIVE_PRIORITY = "100"
+
+ALTERNATIVE:${PN} = "pimd"
+ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd"