Commit Graph

16 Commits

Author SHA1 Message Date
Robert Marko 4d8a9a44c3 libmaxminddb: fixup lib and include dirs in pkg-config
libmaxminddb has switched to using CMAKE_INSTALL_PREFIX,
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR for generating the
pkg-config in upstream commit [1] and thus broke pkg-config file
generation in openwrt.

It would generate:
prefix=/usr
exec_prefix=/usr
libdir=lib
includedir=include

Obviously libdir and includedirs are incorrect for OpenWrt and this
would then cause pdns compilation to fail if geoip backend was enabled
since it uses pkg-config to get the required flags and passing just
lib for LDFLAGS would cause libtool to error out since that path is not
valid.

So, lets use SED magic to replace libdir and includedir with the correct
paths, so now pkg-config looks like:
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include

[1] 8b4bf0dec9

Fixes: 9f7357880f ("libmaxminddb: update to 1.11.0")
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-10-14 21:59:46 +02:00
Aleksey Vasilenko 9f7357880f libmaxminddb: update to 1.11.0
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-09-02 10:57:19 -07:00
Aleksey Vasilenko 5806cbef98 libmaxminddb: update to 1.10.0
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-07-28 22:49:44 +08:00
krant e88546aa4d libmaxminddb: update to 1.9.1
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:30:19 -08:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Rosen Penev fe018482f8 libmaxminddb: install pkgconfig file
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-03 16:31:01 -08:00
Rosen Penev 448cd7fba1 libmaxminddb: update to 1.7.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-11 15:11:57 -08:00
Jan Pavlinec 3ee2a087a3
treewide: change email
Change from jan.pavlinec@nic.cz to jan.pavlinec1@gmail.com

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-07-29 13:21:02 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Jan Pavlinec 0352d6d942 libmaxminddb: update to version 1.6.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-05-03 18:19:39 +03:00
Rosen Penev 4b8138c8a8 libmaxminddb: build with CMake
Faster and less error prone.

Small cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-05 14:59:28 -07:00
Jan Pavlinec e76ce033d5
libmaxminddb: update to version 1.5.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-22 10:36:31 +01:00
Jan Pavlinec 8ab91fe284
libmaxminddb: update to version 1.5.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-25 13:17:01 +01:00
Jan Pavlinec dad7c86345
libmaxminddb: update to version 1.4.3
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-11 14:34:59 +02:00
Jan Pavlinec 62a9110bc5
libmaxminddb: update to version 1.4.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-07 11:14:24 +01:00
Jan Pavlinec 67601d53b1
libmaxminddb: add new package (dependency for measurement-kit)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-01-23 12:43:05 +01:00