openwrt/package/libs
Liu Dongmiao 51752fa14b libevent2: make cmake use relative imported path
libevent2's cmake use absolute path, then cmake cannot find it when cross compiling:

```
-- Found libevent include directory: /builder/staging_dir/target-mips_24kc_musl/usr/include
-- Found libevent component: /builder/staging_dir/target-mips_24kc_musl/usr/lib/libevent_core.so
-- Found libevent component: /builder/staging_dir/target-mips_24kc_musl/usr/lib/libevent_extra.so
-- Found libevent component: /builder/staging_dir/target-mips_24kc_musl/usr/lib/libevent_openssl.so
-- Found libevent 2.1.12 in /builder/staging_dir/target-mips_24kc_musl/usr
CMake Error at /builder/staging_dir/target-mips_24kc_musl/usr/lib/cmake/libevent/LibeventTargets-shared.cmake:102 (message):
  The imported target "libevent::core" references the file

     "/usr/lib/libevent_core-2.1.so.7.0.1"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/builder/staging_dir/target-mips_24kc_musl/usr/lib/cmake/libevent/LibeventTargets-shared.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /builder/staging_dir/target-mips_24kc_musl/usr/lib/cmake/libevent/LibeventConfig.cmake:168 (include)
  CMakeLists.txt:34 (find_package)
```

This patch make cmake use relative imported path, so it can find libevent.

Signed-off-by: Liu Dongmiao <liudongmiao@gmail.com>
2024-03-13 00:24:43 +00:00
..
argp-standalone
elfutils
gettext-full gettext-full: use autoreconf host fixup 2024-01-15 17:35:31 +01:00
gmp gmp: update to 6.3 2023-10-17 11:05:16 +02:00
jansson
libaudit
libbpf libbpf: Update to v1.3.0 2023-11-30 13:35:27 -08:00
libbsd libbsd: update to 0.11.8 2024-01-30 10:39:21 +01:00
libcap
libevent2 libevent2: make cmake use relative imported path 2024-03-13 00:24:43 +00:00
libiconv-full
libjson-c libjson-c: update to 0.17 2023-10-12 09:50:06 +02:00
libmd libmd: update to 1.1.0 2023-10-12 09:50:25 +02:00
libmnl
libnetfilter-conntrack packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
libnfnetlink
libnftnl
libnl libnl: update to 3.9.0 2024-01-04 16:06:44 +01:00
libnl-tiny libnl-tiny: update to Git HEAD (2023-12-05) 2023-12-05 13:07:30 +01:00
libpcap packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
libselinux libselinux: opt-out of lto usage 2023-10-29 19:42:32 +01:00
libsemanage
libsepol libsepol: opt-out of lto usage 2023-10-29 19:42:32 +01:00
libtool
libtraceevent libtraceevent: update to 1.8.2 2024-01-25 17:31:50 +01:00
libtracefs libtracefs: update to 1.8 2024-01-25 17:31:50 +01:00
libubox libubox: update to Git HEAD (2024-01-26) 2024-01-26 21:08:07 +01:00
libunistring
libunwind
libusb
libxml2 libxml2: update to 2.12.5 2024-02-13 12:34:56 +01:00
mbedtls mbedtls: enable threading support 2024-03-08 22:46:32 +01:00
mpfr mpfr: import from packages feed 2024-01-04 22:40:05 +01:00
musl-fts
ncurses
nettle
openssl openssl: update to 3.0.13 2024-02-02 08:46:52 +03:00
pcre2
popt treewide: Add extra CPE identifier 2023-09-25 23:06:33 +02:00
readline
sysfsutils treewide: Add extra CPE identifier 2023-09-25 23:06:33 +02:00
toolchain toolchain: link ldd when using external toolchain 2023-10-20 18:55:55 +02:00
uclient
udebug udebug: update to Git HEAD (2023-12-06) 2023-12-06 16:17:34 +01:00
ustream-ssl ustream-ssl: update to Git HEAD (2023-11-26) 2023-11-26 20:37:51 +01:00
wolfssl wolfssl: update to 5.6.6 2024-01-02 18:23:09 +01:00
zlib zlib: update to 1.3.1 2024-02-02 17:26:29 +01:00