diff options
author | yyamano <yyamano> | 2002-06-08 06:42:05 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2002-06-08 06:42:05 +0000 |
commit | 44d53abcd27f5d06f0973e340ae40bb5e5308e65 (patch) | |
tree | d48cbc986d16b0b5d981e3a196aafe6bdae5f12a /net | |
parent | 3a5bde0efb4fbb4a7ff2974b619b303ae0997cf6 (diff) | |
download | pkgsrc-44d53abcd27f5d06f0973e340ae40bb5e5308e65.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/Makefile | 10 | ||||
-rw-r--r-- | net/lukemftpd/Makefile | 10 |
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: |