summaryrefslogtreecommitdiff
path: root/net/lukemftp
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/lukemftp
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/lukemftp')
-rw-r--r--net/lukemftp/Makefile10
1 files changed, 7 insertions, 3 deletions
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"