From: Jonas Gorski Date: Sun, 12 May 2013 10:51:22 +0000 (+0000) Subject: packages: nginx: fix libopenssl dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=56b2ad13a35353bc8e700600117894e30349739d;p=openwrt%2Fsvn-archive%2Fpackages.git packages: nginx: fix libopenssl dependency The build system doesn't understand this compound DEPENDS condition without it being wrapped in parentheses. menuconfig does understand it, so libopenssl would be selected if nginx needed it, but there was no guarantee that openssl would be built before nginx. Adding parentheses fixes the problem. This seems to be how compound conditions are generally handled in OpenWrt Makefiles. Signed-off-by: Mark Mentovai SVN-Revision: 36606 --- diff --git a/net/nginx/Makefile b/net/nginx/Makefile index 4ec78c2e2..31d9318fd 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -57,7 +57,7 @@ define Package/nginx SUBMENU:=Web Servers/Proxies TITLE:=Nginx web server URL:=http://nginx.org/ - DEPENDS:=+NGINX_PCRE:libpcre +NGINX_SSL||NGINX_HTTP_CACHE||NGINX_HTTP_AUTH_BASIC:libopenssl +NGINX_HTTP_GZIP:zlib +libpthread +NGINX_LUA:liblua + DEPENDS:=+NGINX_PCRE:libpcre +(NGINX_SSL||NGINX_HTTP_CACHE||NGINX_HTTP_AUTH_BASIC):libopenssl +NGINX_HTTP_GZIP:zlib +libpthread +NGINX_LUA:liblua MENU:=1 endef