summaryrefslogtreecommitdiffstats
path: root/package/proftpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/proftpd')
-rw-r--r--package/proftpd/proftpd.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 2130b1eee..a2e38bdc4 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -11,6 +11,10 @@ PROFTPD_CAT:=bzcat
PROFTPD_BINARY:=proftpd
PROFTPD_TARGET_BINARY:=usr/sbin/proftpd
+ifeq ($(BR2_INET_IPV6),y)
+ENABLE_IPV6:=--enable-ipv6
+endif
+
$(DL_DIR)/$(PROFTPD_SOURCE):
$(WGET) -P $(DL_DIR) $(PROFTPD_SITE)/$(PROFTPD_SOURCE)
@@ -40,6 +44,7 @@ $(PROFTPD_DIR)/.configured: $(PROFTPD_DIR)/.unpacked
--disable-dso \
--enable-shadow \
$(DISABLE_LARGEFILE) \
+ $(ENABLE_IPV6) \
--with-gnu-ld \
);
touch $(PROFTPD_DIR)/.configured