openwrt/package
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
..
base-files base-files: sysupgrade: handle errors when generating backup 2024-03-05 11:54:55 +01:00
boot uboot-mediatek: fix typo patch filename 2024-03-11 19:14:14 +00:00
devel binutils: update to 2.42 2024-02-12 23:41:03 +01:00
firmware firmware: add firmware package for Realtek RTL8188FU 2024-03-09 23:42:37 +01:00
kernel kernel: modules: don't override NLS dependencies 2024-03-11 23:49:25 +00:00
libs libevent2: make cmake use relative imported path 2024-03-13 00:24:43 +00:00
network lldpd: update URL 2024-03-12 20:41:01 +01:00
system ubox: make logread as an alternative 2024-03-08 15:38:37 +08:00
utils fitblk: invert kernel version dependency 2024-03-11 20:17:26 +01:00
Makefile build: do not depend on $(STAGING_DIR)/.prepared when in SDK 2024-03-04 23:45:15 +01:00