Skip to contentSkip to conversation

apache2: Add PACKAGECONFIG zlib option for mod_deflate

PATCH New Haiqing Bai 1 participant 1 message Jun 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apache2: Add PACKAGECONFIG zlib option for mod_deflate

The configure options '--enable-deflate' or '--with-z' make the package depends on zlib. PACKAGECONFIG should be defined to clear the dependency.

---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb | 1 +
 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb +1 -0
index c422092..b08e037 100644
@@ -64,6 +64,7 @@ EXTRA_OECONF = "--enable-ssl \
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
 PACKAGECONFIG[selinux] = "--enable-selinux --enable-layout=Debian --prefix=${base_prefix}/,--disable-selinux,libselinux,libselinux"
 PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap"
+PACKAGECONFIG[zlib] = "--enable-deflate --with-z=${STAGING_LIBDIR},,zlib,zlib"
 
 do_configure_prepend() {
         sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libdir}/cgi-bin:g' ${S}/config.layout
Signature · 1 line
1.9.1