summaryrefslogtreecommitdiff
path: root/net/vsftpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-05 15:20:28 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-05 15:20:28 +0000
commit96f6b62c5857d178b831e89a5e36f3d468069f02 (patch)
tree4e3de5ed1b7ff6d4fe9a89d197c1a2c6d3eb2f7e /net/vsftpd
parentf73a4b0c040130d8ea3c870948cfc9eeb5a5fa73 (diff)
downloadpkgsrc-96f6b62c5857d178b831e89a5e36f3d468069f02.tar.gz
Explicitly error out if inet6 support is not present or disabled.
From PR 25674.
Diffstat (limited to 'net/vsftpd')
-rw-r--r--net/vsftpd/Makefile6
1 files changed, 5 insertions, 1 deletions
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"