Changeset 12676


Ignore:
Timestamp:
2008-09-23T23:45:46+02:00 (8 years ago)
Author:
nico
Message:

[packages] fix large file support in samba3 (closes: #4014)

Location:
packages/net/samba3
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/samba3/Makefile

    r12564 r12676  
    99PKG_NAME:=samba3 
    1010PKG_VERSION:=3.0.24 
    11 PKG_RELEASE:=1 
     11PKG_RELEASE:=2 
    1212#PKG_MD5SUM:=b51b2975f21006f85f7297f3fb1acde1 
    1313 
     
    3636endef 
    3737 
     38ifneq ($(CONFIG_LARGEFILE),) 
     39  define Build/Prepare/LFS 
     40        cat ./files/config-lfs.h >> $(PKG_BUILD_DIR)/source/include/config.h 
     41  endef 
     42endif 
     43 
     44define Build/Prepare 
     45$(call Build/Prepare/Default) 
     46$(call Build/Prepare/LFS) 
     47endef 
     48 
    3849define Build/Compile 
    39         CFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \ 
    4050        CC="$(TARGET_CC)" \ 
    41         CPPFLAGS="$(TARGET_CPPFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \ 
     51        CFLAGS="$(TARGET_CFLAGS)" \ 
     52        CPPFLAGS="$(TARGET_CPPFLAGS)" \ 
    4253        LDFLAGS="$(TARGET_LDFLAGS)" \ 
    43                 $(MAKE) -C $(PKG_BUILD_DIR)/source \ 
    44                         all bin/smbpasswd        
     54        $(MAKE) -C $(PKG_BUILD_DIR)/source \ 
     55                all bin/smbpasswd        
    4556endef 
    4657 
Note: See TracChangeset for help on using the changeset viewer.