Subject: how to deal with USE_INET6 and BUILD_DEFS?
To: None <>
From: Georg Schwarz <>
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     +49 178 8545053