seafile-server: fix dependency specification
authorGergely Kiss <mail.gery@gmail.com>
Sun, 29 May 2016 23:23:44 +0000 (01:23 +0200)
committerEtienne CHAMPETIER <champetier.etienne@gmail.com>
Wed, 24 Aug 2016 20:35:34 +0000 (20:35 +0000)
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
net/seafile-server/Config.in
net/seafile-server/Makefile

index 0e1925bcea7ea598edb76ad0d995597c96aa933c..d83f795aea2d61901e1b06199044a1053a905083 100644 (file)
@@ -3,8 +3,8 @@ menu "Configuration"
 
 config SEAFILE_FUSE_SUPPORT
        bool "Enable FUSE support"
-       default n
        select PACKAGE_libfuse
+       default n
 
 config SEAFILE_CONSOLE_SUPPORT
        bool "Enable seafile server console"
index 1faf36744cef60aa9aa7ca3110caa5ebbb524a34..6db1299487560fb479dac94c7c04240481f33dc8 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=seafile-server
 PKG_VERSION:=5.1.1
-PKG_RELEASE=$(PKG_SOURCE_VERSION)-5
+PKG_RELEASE=$(PKG_SOURCE_VERSION)-6
 PKG_LICENSE:=GPL-3.0
 
 PKG_SOURCE_PROTO:=git
@@ -32,10 +32,7 @@ define Package/seafile-server
     URL:=http://seafile.com/
     DEPENDS:=+libarchive +libopenssl +glib2 +libsearpc +seafile-ccnet +seafile-seahub +sqlite3-cli +python-mysql \
                +jansson +libevent2 +libevent2-openssl +zlib +libzdb +libsqlite3 +libmysqlclient \
-               +libpthread +libuuid +bash +procps-ng +procps-ng-pkill $(ICONV_DEPENDS)
-ifeq ($(CONFIG_SEAFILE_FUSE_SUPPORT),y)
-    DEPENDS += +libfuse
-endif
+               +libpthread +libuuid +bash +procps-ng +procps-ng-pkill +SEAFILE_FUSE_SUPPORT:libfuse $(ICONV_DEPENDS)
     EXTRA_DEPENDS:=seafile-ccnet (=5.1.1-6d94fdc4296d542a5552039dc13a67c3448e8b13-1), seafile-seahub (=5.1.1-95f762f396c81f840fe658ab983df53784083bb1-1)
     MENU:=1
 endef