diff options
author | joerg <joerg@pkgsrc.org> | 2006-10-05 15:20:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-10-05 15:20:28 +0000 |
commit | 5ae002670267705172606f60fd8460ca73d74baf (patch) | |
tree | 4e3de5ed1b7ff6d4fe9a89d197c1a2c6d3eb2f7e /net/vsftpd | |
parent | a5de4a462623aef419857ff714850f1877e5d102 (diff) | |
download | pkgsrc-5ae002670267705172606f60fd8460ca73d74baf.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/Makefile | 6 |
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" |