3cd014c716
Without this fix configure finds the host version of pcre2-config: checking for pcre2-config... /home/autobuild/autobuild/instance-3/output-1/host/bin/pcre2-config Fixes: http://autobuild.buildroot.net/results/1b9/1b98078a28b478018cf60bae35974cb4033e2af0/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
904 B
Makefile
32 lines
904 B
Makefile
################################################################################
|
|
#
|
|
# pound
|
|
#
|
|
################################################################################
|
|
|
|
POUND_VERSION = 4.8
|
|
POUND_SITE = https://github.com/graygnuorg/pound/releases/download/v$(POUND_VERSION)
|
|
POUND_LICENSE = GPL-3.0+
|
|
POUND_LICENSE_FILES = COPYING
|
|
POUND_DEPENDENCIES = openssl host-openssl
|
|
|
|
# Force owner/group to us, otherwise it will try proxy:proxy by
|
|
# default.
|
|
POUND_CONF_OPTS = \
|
|
--with-owner=$(shell id -un) \
|
|
--with-group=$(shell id -gn)
|
|
|
|
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
|
POUND_CONF_OPTS += --enable-pcreposix=pcre2
|
|
POUND_CONF_ENV += \
|
|
ac_cv_path_PCRE2_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config
|
|
POUND_DEPENDENCIES += pcre2
|
|
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
POUND_CONF_OPTS += --enable-pcreposix=pcre1
|
|
POUND_DEPENDENCIES += pcre
|
|
else
|
|
POUND_CONF_OPTS += --disable-pcreposix
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|