From: "Steven J. Hill" Date: Tue, 17 Jul 2007 00:22:39 +0000 (-0000) Subject: Build proftpd with IPv6 support only if the toolchain was configured as such. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9721176badd3655286877e689a26c45fae01caa;p=buildroot.git Build proftpd with IPv6 support only if the toolchain was configured as such. --- 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