squid: Add a PACKAGECONFIG for libnetfilter-conntrack
authorChong.Lu@windriver.com <Chong.Lu@windriver.com>
Wed, 22 Oct 2014 10:07:13 +0000 (18:07 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:43:14 +0000 (08:43 -0800)
This solves the following warning:

WARNING: QA Issue: squid rdepends on libnetfilter-conntrack, but it isn't a
build dependency? [build-deps]

(From meta-openembedded rev: d47b4c7ca0f98071a6f33144630d6bf1b856ce18)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-daemons/squid/squid_3.4.7.bb

index 37e4bba..cd10bd0 100644 (file)
@@ -35,6 +35,8 @@ inherit autotools useradd ptest
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
 EXTRA_OECONF += "--with-default-user=squid"
 
 TESTDIR = "test-suite"