c-icap: disable Perl support

The Perl support in c-icap does not build properly, because it queries
the system-installed Perl for cflags/ldflags, which returns things
like -I/usr/local/include causing build failures since those are
invalid paths when cross-compiling.

Since there is no easy way to fix that without changing c-icap
configure.in, let's disable the Perl support for now, until someone is
interested enough to fix this up.

Fixes:

  http://autobuild.buildroot.org/results/f60/f6011ab8211589fe8e1e8932db9f8be81768d3e6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2015-07-12 12:43:29 +02:00
parent 58f6b79334
commit 5ec154fa41

View File

@ -14,6 +14,7 @@ C_ICAP_CONFIG_SCRIPTS = c-icap-config c-icap-libicapapi-config
C_ICAP_CONF_OPTS = \
--with-process-mutexes=posix \
--without-ldap \
--without-perl \
--enable-large-files \
--enable-ipv6
@ -31,13 +32,6 @@ else
C_ICAP_CONF_OPTS += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_PERL),y)
C_ICAP_CONF_OPTS += --with-perl
C_ICAP_DEPENDENCIES += perl
else
C_ICAP_CONF_OPTS += --without-perl
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
C_ICAP_CONF_OPTS += --with-zlib
C_ICAP_DEPENDENCIES += zlib