summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-12-13 10:01:10 -0800
committerKhem Raj <raj.khem@gmail.com>2013-01-08 09:31:44 -0800
commitd129d2b6aaae77a678ab4c8d5ced89a2136a252d (patch)
tree85245d8708919628240b865e85a7475d42428871 /meta-oe/recipes-extended
parent1db7387892476ff25576cf5ae37360405b60a8ae (diff)
downloadmeta-openembedded-d129d2b6aaae77a678ab4c8d5ced89a2136a252d.tar.gz
net-snmp: Use ${PN} instead of hardcoding net-snmp
This shows up when doing multilib builds where PN != BPN and warnings about non existent systemd packages are popping up. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/net-snmp/net-snmp.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp.inc b/meta-oe/recipes-extended/net-snmp/net-snmp.inc
index c6f613db5..eb355abb0 100644
--- a/meta-oe/recipes-extended/net-snmp/net-snmp.inc
+++ b/meta-oe/recipes-extended/net-snmp/net-snmp.inc
@@ -38,8 +38,8 @@ do_install_append() {
38 -i ${STAGING_BINDIR}/net-snmp-config 38 -i ${STAGING_BINDIR}/net-snmp-config
39} 39}
40 40
41PACKAGES = "net-snmp-dbg net-snmp-doc net-snmp-dev net-snmp-staticdev net-snmp-static net-snmp-libs \ 41PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-static ${PN}-libs \
42 net-snmp-mibs net-snmp-server net-snmp-client net-snmp-server-snmpd net-snmp-server-snmptrapd" 42 ${PN}-mibs ${PN}-server ${PN}-client ${PN}-server-snmpd ${PN}-server-snmptrapd"
43 43
44ALLOW_EMPTY_${PN}-server = "1" 44ALLOW_EMPTY_${PN}-server = "1"
45FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}" 45FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
@@ -59,7 +59,7 @@ INITSCRIPT_PARAMS_${PN}-server = "defaults"
59 59
60LEAD_SONAME = "libnetsnmp.so" 60LEAD_SONAME = "libnetsnmp.so"
61 61
62pkg_postrm_net-snmp-server() { 62pkg_postrm_${PN}-server() {
63 if test "x$D" != "x"; then 63 if test "x$D" != "x"; then
64 OPT="-r $D " 64 OPT="-r $D "
65 else 65 else