diff options
| author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-03-05 14:39:35 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-03-06 17:37:14 -0800 |
| commit | 49e60520ccf90bcaa9943aa253a8031634803ebf (patch) | |
| tree | d75303ef2411eb1ded438110d8b0a80abb6be646 | |
| parent | 088ca6035626ad6f38515bad963a84cf266bb169 (diff) | |
| download | meta-openembedded-49e60520ccf90bcaa9943aa253a8031634803ebf.tar.gz | |
net-snmp: multilib fixes
net-snmp/net-snmp-config.h:
- encodes type sizes
- encodes pathing into the libdir
net-snmp-config:
- encodes build configuration data and lib pathing.
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 6 |
1 files changed, 5 insertions, 1 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 317350e949..9c2ffb2c74 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 | |||
| @@ -35,7 +35,7 @@ SRC_URI[sha256sum] = "b2fc3500840ebe532734c4786b0da4ef0a5f67e51ef4c86b3345d697e4 | |||
| 35 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" | 35 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" |
| 36 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" | 36 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" |
| 37 | 37 | ||
| 38 | inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative ptest | 38 | inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative ptest multilib_script multilib_header |
| 39 | 39 | ||
| 40 | EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" | 40 | EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" |
| 41 | 41 | ||
| @@ -136,6 +136,8 @@ do_install_append() { | |||
| 136 | -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L\$\{libdir\}@g" \ | 136 | -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L\$\{libdir\}@g" \ |
| 137 | -i ${D}${bindir}/net-snmp-config | 137 | -i ${D}${bindir}/net-snmp-config |
| 138 | fi | 138 | fi |
| 139 | |||
| 140 | oe_multilib_header net-snmp/net-snmp-config.h | ||
| 139 | } | 141 | } |
| 140 | 142 | ||
| 141 | do_install_ptest() { | 143 | do_install_ptest() { |
| @@ -268,3 +270,5 @@ RREPLACES_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | |||
| 268 | RCONFLICTS_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | 270 | RCONFLICTS_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" |
| 269 | 271 | ||
| 270 | LEAD_SONAME = "libnetsnmp.so" | 272 | LEAD_SONAME = "libnetsnmp.so" |
| 273 | |||
| 274 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/net-snmp-config" | ||
