Change deprecated USE_INET6 to inet6 option.
This commit is contained in:
parent
6b4e7da517
commit
b5e8d9db02
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2007/03/01 19:12:14 shattered Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2007/11/14 22:42:59 hoka_adam Exp $
|
||||
#
|
||||
|
||||
DISTNAME= MyServer-src-0.8.5
|
||||
|
@ -23,10 +23,6 @@ CONFIGURE_ARGS+= --with-root-prefix=${PREFIX}
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if !empty(USE_INET6:M[yY][eE][sS])
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.endif
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
SUBST_CLASSES+= paths
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: options.mk,v 1.1 2007/02/08 14:08:52 bartoszkuzma Exp $
|
||||
# $NetBSD: options.mk,v 1.2 2007/11/14 22:42:59 hoka_adam Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.MyServer
|
||||
PKG_SUPPORTED_OPTIONS= control
|
||||
PKG_SUPPORTED_OPTIONS= control inet6
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
|
@ -10,3 +10,7 @@ CONFIGURE_ARGS+= --enable-control
|
|||
PLIST_SRC+= ${PKGDIR}/PLIST.control
|
||||
.include "../../x11/fltk/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Minet6)
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue