freeradius3: Fix build when pcre is present
authorJeffery To <jeffery.to@gmail.com>
Wed, 15 Nov 2023 09:32:22 +0000 (17:32 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 16 Nov 2023 04:53:41 +0000 (12:53 +0800)
commit5453ca57c7ef24385319cc7759713b93816cfe04
tree2e718d26d45f2cacfff1fefba008376e5e74b9c5
parent413260559e7b830dedb47919f2b9e428cf11eb78
freeradius3: Fix build when pcre is present

If pcre is built before freeradius, then freeradius' configure will
detect pcre and freeradius will be built with pcre functionality
enabled. This causes a "missing dependencies" error at the end of
package build.

This passes --without-pcre to configure to disable this autodetection.

This also removes the dependency on libpcre2 as freeradius v3 does not
have support for pcre2.

Fixes: 19ec30255f13 ("freeradius3: switch to pcre2")
Fixes: https://github.com/openwrt/packages/issues/22574
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 92aadf7e4acfaf89ef83b43244027e10f7f80d1f)
net/freeradius3/Makefile