Fix B != S and separate them.

Signed-off-by: Robert Yang <[email protected]>
---
 meta/recipes-connectivity/bind/bind_9.10.2.bb |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/bind/bind_9.10.2.bb 
b/meta/recipes-connectivity/bind/bind_9.10.2.bb
index 539f63e..1dc15a9 100644
--- a/meta/recipes-connectivity/bind/bind_9.10.2.bb
+++ b/meta/recipes-connectivity/bind/bind_9.10.2.bb
@@ -31,7 +31,9 @@ EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random 
--disable-threads \
                  --sysconfdir=${sysconfdir}/bind \
                  --with-openssl=${STAGING_LIBDIR}/.. \
                "
-inherit autotools-brokensep update-rc.d systemd useradd pkgconfig
+inherit autotools update-rc.d systemd useradd pkgconfig
+
+PR = "r1"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2"
@@ -58,7 +60,7 @@ do_install_prepend() {
        # clean host path in isc-config.sh before the hardlink created
        # by "make install":
        #   bind9-config -> isc-config.sh
-       sed -i -e "s,${STAGING_LIBDIR},${libdir}," ${S}/isc-config.sh
+       sed -i -e "s,${STAGING_LIBDIR},${libdir}," ${B}/isc-config.sh
 }
 
 do_install_append() {
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to