Skip to contentSkip to conversation

bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prepend

PATCH New Ross Burton 1 participant 1 message Nov 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prepend

Appending or prepending to PACKAGES breaks when the package is built natively, so use PACKAGE_BEFORE_PN instead.

---
 meta/recipes-connectivity/bind/bind_9.9.5.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/bind/bind_9.9.5.bb +1 -1
index ebd38ef..73f386e 100644
@@ -46,7 +46,7 @@ PARALLEL_MAKE = ""
 
 RDEPENDS_${PN} = "python-core"
 
-PACKAGES_prepend = " ${PN}-utils "
+PACKAGE_BEFORE_PN += "${PN}-utils"
 FILES_${PN}-utils = "${bindir}/host ${bindir}/dig"
 FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
Signature · 1 line
1.7.10.4