diff options
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 9 |
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" | |||
50 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," | 50 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," |
51 | 51 | ||
52 | PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ | 52 | PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ |
53 | perl, perl perl-lib" | 53 | perl," |
54 | PACKAGECONFIG[des] = "--enable-des,--disable-des" | 54 | PACKAGECONFIG[des] = "--enable-des,--disable-des" |
55 | 55 | ||
56 | EXTRA_OECONF = "--enable-shared \ | 56 | EXTRA_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" | |||
190 | ALLOW_EMPTY_${PN}-server = "1" | 190 | ALLOW_EMPTY_${PN}-server = "1" |
191 | ALLOW_EMPTY_${PN}-libs = "1" | 191 | ALLOW_EMPTY_${PN}-libs = "1" |
192 | 192 | ||
193 | FILES_${PN}-perl-modules = "${libdir}/perl/*" | 193 | FILES_${PN}-perl-modules = "${libdir}/perl?/*" |
194 | RDEPENDS_${PN}-perl-modules = "perl" | ||
194 | 195 | ||
195 | FILES_${PN}-libs = "" | 196 | FILES_${PN}-libs = "" |
196 | FILES_${PN}-mibs = "${datadir}/snmp/mibs" | 197 | FILES_${PN}-mibs = "${datadir}/snmp/mibs" |