summaryrefslogtreecommitdiff
path: root/net
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
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')
-rw-r--r--net/lukemftp/Makefile10
-rw-r--r--net/lukemftpd/Makefile10
2 files changed, 14 insertions, 6 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"
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: