packages/subversion: force use of LFS and 64-bit off_t (really closes: #9287)
authorNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2011 13:51:55 +0000 (13:51 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2011 13:51:55 +0000 (13:51 +0000)
SVN-Revision: 28765

net/subversion/Makefile

index 9eb8041ff85affbe9ae918019a11ee3545a526c4..690f10d50223a9dbc2227fc94ca0606a621b76fe 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=subversion
 PKG_VERSION:=1.6.17
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://subversion.tigris.org/downloads
@@ -73,6 +73,9 @@ define Package/subversion-server/conffiles
 /etc/config/subversion
 endef
 
+TARGET_CFLAGS += $(FPIC)
+TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+
 CONFIGURE_ARGS += \
        --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \
        --with-apr-util="$(STAGING_DIR)/usr/bin/apu-1-config" \