pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vsftpd Explicitly error out if inet6 support is no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0bd6a12830d
branches:  trunk
changeset: 519575:b0bd6a12830d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Oct 05 15:20:28 2006 +0000

description:
Explicitly error out if inet6 support is not present or disabled.
>From PR 25674.

diffstat:

 net/vsftpd/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8346d456ee0c -r b0bd6a12830d net/vsftpd/Makefile
--- a/net/vsftpd/Makefile       Thu Oct 05 15:00:42 2006 +0000
+++ b/net/vsftpd/Makefile       Thu Oct 05 15:20:28 2006 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index