summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
index 60b2b389d..192b6b506 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
@@ -50,7 +50,7 @@ PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
50PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," 50PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"
51 51
52PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ 52PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\
53 perl, perl perl-lib" 53 perl,"
54PACKAGECONFIG[des] = "--enable-des,--disable-des" 54PACKAGECONFIG[des] = "--enable-des,--disable-des"
55 55
56EXTRA_OECONF = "--enable-shared \ 56EXTRA_OECONF = "--enable-shared \
@@ -88,8 +88,8 @@ do_configure_prepend() {
88 88
89 if [ "${HAS_PERL}" = "1" ]; then 89 if [ "${HAS_PERL}" = "1" ]; then
90 # this may need to be changed when package perl has any change. 90 # this may need to be changed when package perl has any change.
91 cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl/*/Config.pm ${WORKDIR}/ 91 cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl?/*/Config.pm ${WORKDIR}/
92 cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl/*/Config_heavy.pl ${WORKDIR}/ 92 cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl?/*/*/Config_heavy.pl ${WORKDIR}/
93 sed -e "s@libpth => '/usr/lib.*@libpth => '${STAGING_DIR_TARGET}/${libdir} ${STAGING_DIR_TARGET}/${base_libdir}',@g" \ 93 sed -e "s@libpth => '/usr/lib.*@libpth => '${STAGING_DIR_TARGET}/${libdir} ${STAGING_DIR_TARGET}/${base_libdir}',@g" \
94 -e "s@privlibexp => '/usr@privlibexp => '${STAGING_DIR_TARGET}/usr@g" \ 94 -e "s@privlibexp => '/usr@privlibexp => '${STAGING_DIR_TARGET}/usr@g" \
95 -e "s@scriptdir => '/usr@scriptdir => '${STAGING_DIR_TARGET}/usr@g" \ 95 -e "s@scriptdir => '/usr@scriptdir => '${STAGING_DIR_TARGET}/usr@g" \
@@ -190,7 +190,8 @@ ALLOW_EMPTY_${PN} = "1"
190ALLOW_EMPTY_${PN}-server = "1" 190ALLOW_EMPTY_${PN}-server = "1"
191ALLOW_EMPTY_${PN}-libs = "1" 191ALLOW_EMPTY_${PN}-libs = "1"
192 192
193FILES_${PN}-perl-modules = "${libdir}/perl/*" 193FILES_${PN}-perl-modules = "${libdir}/perl?/*"
194RDEPENDS_${PN}-perl-modules = "perl"
194 195
195FILES_${PN}-libs = "" 196FILES_${PN}-libs = ""
196FILES_${PN}-mibs = "${datadir}/snmp/mibs" 197FILES_${PN}-mibs = "${datadir}/snmp/mibs"