enable IPv6 if USE_INET6 is set

This commit is contained in:
hubertf 2000-12-17 09:43:16 +00:00
parent 6512f4859d
commit 80386e6127

View file

@ -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}"