diff options
| author | Jens Rehsack <sno@netbsd.org> | 2018-08-28 15:24:27 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-08-28 09:37:20 -0700 |
| commit | 9070ae84822582957bfe199fd215c3cbd52d6eba (patch) | |
| tree | da88953ec4a117f7b42166f32107b79fbe6fed44 /meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | |
| parent | 1fd61636f9f6451b63b879ed34b8b3eff4c67d45 (diff) | |
| download | meta-openembedded-9070ae84822582957bfe199fd215c3cbd52d6eba.tar.gz | |
libnet-ssleay-perl: Fix configure issue
Fix libnet-ssleay-perl tries to execute found openssl binaries
at the place of ${OPENSSL_PREFIX} and bailing out when either
binaries are missing or can't be executed. From cross-compiling
perspective, both is insane.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb')
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb index a0bb90e7d6..dccef16404 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | |||
| @@ -23,6 +23,7 @@ RDEPENDS_${PN} += "\ | |||
| 23 | " | 23 | " |
| 24 | 24 | ||
| 25 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \ | 25 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \ |
| 26 | file://no-exec-on-configure.patch \ | ||
| 26 | file://run-ptest \ | 27 | file://run-ptest \ |
| 27 | " | 28 | " |
| 28 | SRC_URI[md5sum] = "d602bdce4e0531c6efc276e3e429ca69" | 29 | SRC_URI[md5sum] = "d602bdce4e0531c6efc276e3e429ca69" |
| @@ -32,9 +33,10 @@ S = "${WORKDIR}/Net-SSLeay-${PV}" | |||
| 32 | 33 | ||
| 33 | inherit cpan ptest | 34 | inherit cpan ptest |
| 34 | 35 | ||
| 35 | export OPENSSL_PREFIX="${STAGING_LIBDIR}" | 36 | do_configure() { |
| 36 | 37 | export OPENSSL_PREFIX="${STAGING_EXECPREFIXDIR}" | |
| 37 | EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS='-L${STAGING_LIBDIR} -lcrypto -lssl -L${STAGING_BASELIBDIR} -lz'" | 38 | cpan_do_configure |
| 39 | } | ||
| 38 | 40 | ||
| 39 | do_install_ptest() { | 41 | do_install_ptest() { |
| 40 | cp -r ${B}/t ${D}${PTEST_PATH} | 42 | cp -r ${B}/t ${D}${PTEST_PATH} |
