diff options
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb index 49847047ac..65b5c8476f 100644 --- a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb +++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb | |||
@@ -59,14 +59,16 @@ do_install_ptest() { | |||
59 | # some tests need to write to this directory | 59 | # some tests need to write to this directory |
60 | chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR} | 60 | chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR} |
61 | 61 | ||
62 | # do NOT need to rebuild Makefile or $(check_PROGRAMS) | 62 | sed -e '# do NOT need to rebuild Makefile or $(check_PROGRAMS)' \ |
63 | sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 63 | -e 's/^Makefile:.*$/Makefile:/' \ |
64 | sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 64 | -e 's/^check-TESTS:.*$/check-TESTS:/' \ |
65 | 65 | -e '# fix the srcdir, top_srcdir, abs_top_builddir' \ | |
66 | # fix the srcdir, top_srcdir, abs_top_builddir | 66 | -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \ |
67 | sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 67 | -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \ |
68 | sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 68 | -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \ |
69 | sed -i 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 69 | -e '# fix the path to test-driver' \ |
70 | -e '/^SH_LOG_DRIVER =/s/(top_srcdir)/(top_builddir)/' \ | ||
71 | -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile | ||
70 | 72 | ||
71 | # install test-driver | 73 | # install test-driver |
72 | install -m 644 ${S}/test-driver ${D}${PTEST_PATH} | 74 | install -m 644 ${S}/test-driver ${D}${PTEST_PATH} |