Browse Source

davfs2: simplified dependencies and added support for LFS

Rupan 9 years ago
parent
commit
761f82175b
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      net/davfs2/Makefile

+ 4
- 2
net/davfs2/Makefile View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=davfs2
11 11
 PKG_VERSION:=1.5.2
12
-PKG_RELEASE:=2
12
+PKG_RELEASE:=3
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 15
 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
@@ -23,7 +23,7 @@ define Package/davfs2
23 23
   SECTION:=net
24 24
   CATEGORY:=Network
25 25
   SUBMENU:=Filesystem
26
-  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse +libfuse
26
+  DEPENDS=+libneon +kmod-fuse +libfuse
27 27
   TITLE:=Mount a WebDAV resource as a regular file system.
28 28
   URL:=http://savannah.nongnu.org/projects/davfs2/
29 29
   MAINTAINER:=Federico Di Marco <fededim@gmail.com>
@@ -52,6 +52,8 @@ endef
52 52
 
53 53
 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
54 54
 
55
+TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
56
+
55 57
 CONFIGURE_VARS += \
56 58
        LDFLAGS="$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib"
57 59