diff options
Diffstat (limited to 'meta/recipes-devtools/perl/liburi-perl_1.73.bb')
-rw-r--r-- | meta/recipes-devtools/perl/liburi-perl_1.73.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/liburi-perl_1.73.bb b/meta/recipes-devtools/perl/liburi-perl_1.73.bb index 7cdf6dc61d..49238f3df5 100644 --- a/meta/recipes-devtools/perl/liburi-perl_1.73.bb +++ b/meta/recipes-devtools/perl/liburi-perl_1.73.bb | |||
@@ -20,11 +20,19 @@ S = "${WORKDIR}/URI-${PV}" | |||
20 | 20 | ||
21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | 21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
22 | 22 | ||
23 | inherit cpan | 23 | inherit cpan ptest-perl |
24 | 24 | ||
25 | do_compile() { | 25 | do_compile() { |
26 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | 26 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" |
27 | cpan_do_compile | 27 | cpan_do_compile |
28 | } | 28 | } |
29 | 29 | ||
30 | do_install_prepend() { | ||
31 | # these tests require "-T" (taint) command line option | ||
32 | rm -rf ${B}/t/cwd.t | ||
33 | rm -rf ${B}/t/file.t | ||
34 | } | ||
35 | |||
36 | RDEPENDS_${PN}-ptest += "libtest-needs-perl" | ||
37 | |||
30 | BBCLASSEXTEND = "native" | 38 | BBCLASSEXTEND = "native" |