[oe-commits] Ross Burton : bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prepend

git at git.openembedded.org git at git.openembedded.org
Thu Nov 20 14:08:42 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 23d7223a21582edefc4e30d76f94f8e81a543af9
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=23d7223a21582edefc4e30d76f94f8e81a543af9

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Nov 13 14:08:20 2014 +0000

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.

Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-connectivity/bind/bind_9.9.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb b/meta/recipes-connectivity/bind/bind_9.9.5.bb
index ebd38ef..73f386e 100644
--- a/meta/recipes-connectivity/bind/bind_9.9.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb
@@ -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"



More information about the Openembedded-commits mailing list