From 96f6b62c5857d178b831e89a5e36f3d468069f02 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 5 Oct 2006 15:20:28 +0000 Subject: Explicitly error out if inet6 support is not present or disabled. From PR 25674. --- net/vsftpd/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'net/vsftpd') diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 8de22fae751..950673b6a19 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2006/05/16 21:08:50 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2006/10/05 15:20:28 joerg Exp $ # DISTNAME= vsftpd-2.0.4 @@ -40,6 +40,10 @@ MAKE_ENV+= LIBS=${LIBS:M*:Q} .include "../../mk/bsd.prefs.mk" +.if empty(USE_INET6:M[Yy][Ee][Ss]) +PKG_FAIL_REASON+= "${PKGNAME} requires a IPv6-enabled userland to compile." +.endif + LIBS.SunOS= -lsocket -lnsl -lrt -lsendfile .include "options.mk" -- cgit v1.2.3