From 44d53abcd27f5d06f0973e340ae40bb5e5308e65 Mon Sep 17 00:00:00 2001 From: yyamano Date: Sat, 8 Jun 2002 06:42:05 +0000 Subject: Use USE_INET6 instead of "${OPSYS} == Darwin" to disable IPv6. This change makes it easy to migrate to Jaguar. Approved by schmonz. --- net/lukemftp/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net/lukemftp') diff --git a/net/lukemftp/Makefile b/net/lukemftp/Makefile index c513d449856..38f95072871 100644 --- a/net/lukemftp/Makefile +++ b/net/lukemftp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2002/06/05 15:04:44 lukem Exp $ +# $NetBSD: Makefile,v 1.9 2002/06/08 06:42:05 yyamano Exp $ # PKGNAME= lukemftp-1.6beta1 @@ -25,10 +25,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="" -.elif ${OPSYS} == "Darwin" -CONFIGURE_ARGS+= --disable-ipv6 .endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3