summaryrefslogtreecommitdiff
path: root/net/lukemftpd
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2002-06-08 06:42:05 +0000
committeryyamano <yyamano@pkgsrc.org>2002-06-08 06:42:05 +0000
commit0c95c6e366381b0c383087f93f3eaf02fb835881 (patch)
treed48cbc986d16b0b5d981e3a196aafe6bdae5f12a /net/lukemftpd
parent04c304dc9f7b034a86b383e1e8506f9420199786 (diff)
downloadpkgsrc-0c95c6e366381b0c383087f93f3eaf02fb835881.tar.gz
Use USE_INET6 instead of "${OPSYS} == Darwin" to disable IPv6.
This change makes it easy to migrate to Jaguar. Approved by schmonz.
Diffstat (limited to 'net/lukemftpd')
-rw-r--r--net/lukemftpd/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/lukemftpd/Makefile b/net/lukemftpd/Makefile
index 84e21da3237..f620427c221 100644
--- a/net/lukemftpd/Makefile
+++ b/net/lukemftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2002/06/02 02:23:36 schmonz Exp $
+# $NetBSD: Makefile,v 1.8 2002/06/08 06:42:05 yyamano Exp $
#
PKGNAME= lukemftpd-1.2beta2
@@ -29,10 +29,14 @@ CONFIGURE_ARGS+= --with-socks5
.endif
.endif
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=""
-.elseif ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+= --disable-ipv6
.endif
do-install: