help2man: fix drag in of target perl for the native package
[openembedded.git] / recipes / net-snmp / net-snmp_5.4.2.1.bb
blob1f80cbcef4041355dc444ec5f79ee9899e881453
1 require net-snmp.inc
2 PR = "${INC_PR}.1"
4 SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
5 file://configure-tail.patch \
6 file://CVE-2008-6123.patch \
7 file://init \
8 file://snmpd.conf \
9 file://snmptrapd.conf"
11 EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \
12 --disable-embedded-perl --with-perl-modules=no"
13 EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
15 do_configure_prepend() {
16 gnu-configize -f
17 # We better change sources and re-autoconf here, but
18 # required autoconf is too new for us.
19 sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \
20 -e 's/tail -1/tail -n 1/g' \
21 -i configure
23 #The tarball for v5.4.2.1 is missing config.sub
24 cp ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
27 PARALLEL_MAKE = ""
28 CCACHE = ""
30 SRC_URI[md5sum] = "984932520143f0c8bf7b7ce1fc9e1da1"
31 SRC_URI[sha256sum] = "11a8baf167f7bfff60d2590e050991400a3a082923dbcdbf85e0e0ce46eb247c"