Do not pass the "--with-webdav-props" option to configure if
the mod-webdav has not been selected.

Signed-off-by: Roberto Riggio <[email protected]

--

Index: net/lighttpd/Makefile
===================================================================
--- net/lighttpd/Makefile       (revisione 14508)
+++ net/lighttpd/Makefile       (copia locale)
@@ -148,11 +148,10 @@
        --with-openssl="$(STAGING_DIR)/usr" \
        --with-pcre \
        --without-valgrind \
-       --with-webdav-props \
 
-CONFIGURE_VARS+= \
-       CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2 $$$$CPPFLAGS" \
-       PCRE_LIB="-lpcre" \
+ifdef CONFIG_PACKAGE_lighttpd-mod-webdav
+  CONFIGURE_ARGS+=--with-webdav-props
+endif
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to