projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nginx: Try to fix openssl dependencies
[openwrt/svn-archive/archive.git]
/
net
/
nginx
/
Makefile
diff --git
a/net/nginx/Makefile
b/net/nginx/Makefile
index f7790d73f298256491f8f3a3a29af0adbb681f76..f6eb84680761106719a39798ecc6bbb2366ec0ad 100644
(file)
--- a/
net/nginx/Makefile
+++ b/
net/nginx/Makefile
@@
-8,12
+8,21
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=nginx
include $(TOPDIR)/rules.mk
PKG_NAME:=nginx
-PKG_VERSION:=0.7.6
5
-PKG_RELEASE:=
1
+PKG_VERSION:=0.7.6
7
+PKG_RELEASE:=
2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://sysoev.ru/nginx/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://sysoev.ru/nginx/
-PKG_MD5SUM:=abc4f76af450eedeb063158bd963feaa
+PKG_MD5SUM:=b6e175f969d03a4d3c5643aaabc6a5ff
+
+PKG_BUILD_PARALLEL:=1
+PKG_INSTALL:=1
+
+PKG_CONFIG_DEPENDS:=\
+ CONFIG_NGINX_STUB_STATUS \
+ CONFIG_NGINX_FLV \
+ CONFIG_NGINX_SSL \
+ CONFIG_NGINX_DAV
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-22,7
+31,7
@@
define Package/nginx
CATEGORY:=Network
TITLE:=Nginx web server
URL:=http://nginx.net/
CATEGORY:=Network
TITLE:=Nginx web server
URL:=http://nginx.net/
- DEPENDS:=+libpcre
+ DEPENDS:=+libpcre
+NGINX_SSL:libopenssl
MENU:=1
endef
MENU:=1
endef
@@
-60,6
+69,8
@@
ifeq ($(CONFIG_NGINX_FLV),y)
endif
ifeq ($(CONFIG_NGINX_SSL),y)
ADDITIONAL_MODULES += --with-http_ssl_module
endif
ifeq ($(CONFIG_NGINX_SSL),y)
ADDITIONAL_MODULES += --with-http_ssl_module
+else
+ ADDITIONAL_MODULES += --without-http-cache
endif
ifeq ($(CONFIG_NGINX_DAV),y)
ADDITIONAL_MODULES += --with-http_dav_module
endif
ifeq ($(CONFIG_NGINX_DAV),y)
ADDITIONAL_MODULES += --with-http_dav_module
@@
-86,9
+97,7
@@
define Build/Configure
endef
define Build/Compile
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR=$(PKG_INSTALL_DIR) \
- build install
+ $(call Build/Compile/Default,build)
endef
define Package/nginx/install
endef
define Package/nginx/install