enable IPv6 if USE_INET6 is set
This commit is contained in:
parent
6512f4859d
commit
80386e6127
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.31 2000/12/17 09:39:53 hubertf Exp $
|
# $NetBSD: Makefile,v 1.32 2000/12/17 09:43:16 hubertf Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= sdr-3.0
|
DISTNAME= sdr-3.0
|
||||||
|
@ -16,6 +16,10 @@ USE_GMAKE= yes
|
||||||
|
|
||||||
.include "../../mk/bsd.prefs.mk"
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
|
.if defined(USE_INET6) && ${USE_INET6} == "YES"
|
||||||
|
CONFIGURE_ARGS+= --enable-ipv6
|
||||||
|
.endif
|
||||||
|
|
||||||
.if exists(/usr/include/sys/inttypes.h)
|
.if exists(/usr/include/sys/inttypes.h)
|
||||||
EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
|
EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
|
||||||
MAKE_FLAGS+= EXTRA_FLAGS="${EXTRA_FLAGS}"
|
MAKE_FLAGS+= EXTRA_FLAGS="${EXTRA_FLAGS}"
|
||||||
|
|
Loading…
Reference in a new issue