Subject: how to deal with USE_INET6 and BUILD_DEFS?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 03/04/2005 15:48:40
pkgsrc/chat/eggdrop/Makefile has

.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEFS+=            USE_INET6
CONFIGURE_ARGS+=        --enable-ipv6
....


It does not make sense to add USE_INET6 to BUILD_DEFS only if USE_INET6
is yes, does it?
What would be the proer way of handling this?
Should it be checked whether the system could at all use IPv6, and only
in that case add USE_INET6 to BUILD_DEFS, or add it unconditionally?

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 georg.schwarz@freenet.de     +49 178 8545053