package/wget: remove optional support for pcre, keep pcre2

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-04-09 10:42:56 +02:00
committed by Julien Olivain
parent 9af410c5ab
commit 12c5a19923

View File

@@ -12,6 +12,8 @@ WGET_LICENSE = GPL-3.0+
WGET_LICENSE_FILES = COPYING
WGET_CPE_ID_VENDOR = gnu
WGET_CONF_OPTS += --disable-pcre
ifeq ($(BR2_PACKAGE_LIBPSL),y)
WGET_CONF_OPTS += --with-libpsl
WGET_DEPENDENCIES += libpsl
@@ -63,13 +65,10 @@ WGET_CONF_OPTS += --without-cares
endif
ifeq ($(BR2_PACKAGE_PCRE2),y)
WGET_CONF_OPTS += --disable-pcre --enable-pcre2
WGET_CONF_OPTS += --enable-pcre2
WGET_DEPENDENCIES += pcre2
else ifeq ($(BR2_PACKAGE_PCRE),y)
WGET_CONF_OPTS += --enable-pcre --disable-pcre2
WGET_DEPENDENCIES += pcre
else
WGET_CONF_OPTS += --disable-pcre --disable-pcre2
WGET_CONF_OPTS += --disable-pcre2
endif
$(eval $(autotools-package))