From b9721176badd3655286877e689a26c45fae01caa Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 17 Jul 2007 00:22:39 +0000 Subject: [PATCH] Build proftpd with IPv6 support only if the toolchain was configured as such. --- package/proftpd/proftpd.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index 2130b1eee4..a2e38bdc46 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 -- 2.30.2