diff options
| -rw-r--r-- | meta/recipes-support/libnl/libnl/fix-pc-file.patch | 17 | ||||
| -rw-r--r-- | meta/recipes-support/libnl/libnl_3.5.0.bb | 9 |
2 files changed, 3 insertions, 23 deletions
diff --git a/meta/recipes-support/libnl/libnl/fix-pc-file.patch b/meta/recipes-support/libnl/libnl/fix-pc-file.patch deleted file mode 100644 index fe8b833a1c..0000000000 --- a/meta/recipes-support/libnl/libnl/fix-pc-file.patch +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | Some packages are asking only for libnl-2.0, but expects to get also | ||
| 4 | libnl-genl, libnl-nf libnl-route, easiest way to fix them is here. | ||
| 5 | |||
| 6 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 7 | Index: libnl-3.2.14/libnl-3.0.pc.in | ||
| 8 | =================================================================== | ||
| 9 | --- libnl-3.2.14.orig/libnl-3.0.pc.in | ||
| 10 | +++ libnl-3.2.14/libnl-3.0.pc.in | ||
| 11 | @@ -6,5 +6,5 @@ includedir=@includedir@ | ||
| 12 | Name: libnl | ||
| 13 | Description: Convenience library for netlink sockets | ||
| 14 | Version: @PACKAGE_VERSION@ | ||
| 15 | -Libs: -L${libdir} -lnl-@MAJ_VERSION@ | ||
| 16 | +Libs: -L${libdir} -lnl-@MAJ_VERSION@ -lnl-genl-@MAJ_VERSION@ -lnl-nf-@MAJ_VERSION@ -lnl-route-@MAJ_VERSION@ | ||
| 17 | Cflags: -I${includedir}/libnl@MAJ_VERSION@ | ||
diff --git a/meta/recipes-support/libnl/libnl_3.5.0.bb b/meta/recipes-support/libnl/libnl_3.5.0.bb index e6a225af52..c0609c4d90 100644 --- a/meta/recipes-support/libnl/libnl_3.5.0.bb +++ b/meta/recipes-support/libnl/libnl_3.5.0.bb | |||
| @@ -9,15 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
| 9 | 9 | ||
| 10 | DEPENDS = "flex-native bison-native" | 10 | DEPENDS = "flex-native bison-native" |
| 11 | 11 | ||
| 12 | SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \ | 12 | SRC_URI = "https://github.com/thom311/${BPN}/releases/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz" |
| 13 | file://fix-pc-file.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases" | ||
| 17 | |||
| 18 | SRC_URI[md5sum] = "74ba57b1b1d6f9f92268aa8141d8e8e4" | 13 | SRC_URI[md5sum] = "74ba57b1b1d6f9f92268aa8141d8e8e4" |
| 19 | SRC_URI[sha256sum] = "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa" | 14 | SRC_URI[sha256sum] = "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa" |
| 20 | 15 | ||
| 16 | UPSTREAM_CHECK_URI = "https://github.com/thom311/${BPN}/releases" | ||
| 17 | |||
| 21 | inherit autotools pkgconfig | 18 | inherit autotools pkgconfig |
| 22 | 19 | ||
| 23 | FILES_${PN} = "${libdir}/libnl-3.so.* \ | 20 | FILES_${PN} = "${libdir}/libnl-3.so.* \ |
