]> code.ossystems Code Review - openembedded-core.git/commitdiff
bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prepend
authorRoss Burton <ross.burton@intel.com>
Thu, 13 Nov 2014 14:08:20 +0000 (14:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:24 +0000 (10:17 +0000)
Appending or prepending to PACKAGES breaks when the package is built natively,
so use PACKAGE_BEFORE_PN instead.

(From OE-Core rev: 23d7223a21582edefc4e30d76f94f8e81a543af9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/bind/bind_9.9.5.bb

index ebd38effa794a8dd41074fa0ecff5636da5a51d9..73f386e6f1cf96be9e199685d1679325459cadf4 100644 (file)
@@ -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"