Skip to contentSkip to conversation

tnftp: switch to using variable flags for alternatives

PATCH New Ulrich Ölmann 1 participant 1 message Feb 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tnftp: switch to using variable flags for alternatives

Up to now in this recipe the alternative mechanism only worked by accident, so do like all other recipes and utilize varflags.

---
 meta-networking/recipes-support/tnftp/tnftp_20210827.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/tnftp/tnftp_20210827.bb +2 -2
index 8c5892668d44..a6ba671e703c 100644
@@ -23,8 +23,8 @@ inherit autotools update-alternatives pkgconfig
 ALTERNATIVE_PRIORITY = "100"
 
 ALTERNATIVE:${PN} = "ftp"
-ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
-ALTERNATIVE_TARGET_${PN}  = "${bindir}/tnftp"
+ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp"
+ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp"
 
 FILES:${PN} = "${bindir}/tnftp"
 
Signature · 1 line
2.30.2