summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
index 7915594c6e..df9b193ac2 100644
--- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
12 12
13DEPENDS = "libnewt popt" 13DEPENDS = "libnewt popt"
14 14
15PR = "r5" 15PR = "r6"
16 16
17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" 17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
18 18
@@ -31,6 +31,12 @@ EXTRA_OEMAKE = "\
31 'MANDIR=${mandir}' \ 31 'MANDIR=${mandir}' \
32" 32"
33 33
34do_unpack[postfuncs] += "obey_variables"
35do_unpack[vardeps] += "obey_variables"
36obey_variables () {
37 sed -i -e 's,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,' leveldb.h
38}
39
34do_install() { 40do_install() {
35 oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install 41 oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install
36 mkdir -p ${D}${sysconfdir}/chkconfig.d 42 mkdir -p ${D}${sysconfdir}/chkconfig.d