summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-17 00:22:39 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-17 00:22:39 +0000
commitb9721176badd3655286877e689a26c45fae01caa (patch)
tree3c5fbd85a194f986fc2cbab6b3eb8cade7b3c4eb
parent51245ee1839d24ce6f1a7c9084803c734248c4ec (diff)
downloadbuildroot-novena-b9721176badd3655286877e689a26c45fae01caa.tar.gz
buildroot-novena-b9721176badd3655286877e689a26c45fae01caa.zip
Build proftpd with IPv6 support only if the toolchain was configured as such.
-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