Subject: Re: how to deal with USE_INET6 and BUILD_DEFS?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Adrian Portelli <adrianp@stindustries.net>
List: tech-pkg
Date: 03/04/2005 16:25:11
Georg Schwarz wrote:
>
> This is exactly what is being done for USE_INET6; c.f. e.g.
> net/zebra/Makefile. However, with chat/eggdrop/Makefile things are
> handled differently (and incorrectly, to my undestanding).
>
> Georg
>
I think your right here. For eggdrop, this would make more sence to me:
--- Makefile.orig 2005-03-04 16:22:38.000000000 +0000
+++ Makefile 2005-03-04 16:22:47.000000000 +0000
@@ -18,8 +18,8 @@
.include "../../mk/bsd.prefs.mk"
-.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEFS+= USE_INET6
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
PLIST_SUBST+= NOIPV6="@comment "
.else
adrian.