Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/syslogd/Makefile
| Context not available. | |||||
| LIBADD= util | LIBADD= util | ||||
| .if ${MK_INET_SUPPORT} != "no" | .if (${MK_INET} != "no" && ${MK_INET_SUPPORT} != "no") | ||||
emaste: these are probably better handled by having one of these be dependent on the other - i.e. | |||||
Not Done Inline ActionsI think the new check is bogus. WITHOUT_INET{,6} means do not build the program at all; that also sets (hopefully still) WITHOUT_INET{,6}_SUPPORT. WITHOUT_INET{,6}_SUPPORT means don't build the address family component into the program/library/.. but still build the program/library/.. So in theory the previous Makefile was correct (also for v6 below). If the code does not build any longer, please fix the code. bz: I think the new check is bogus. WITHOUT_INET{,6} means do not build the program at all; that… | |||||
| CFLAGS+= -DINET | CFLAGS+= -DINET | ||||
| .endif | .endif | ||||
| .if ${MK_INET6_SUPPORT} != "no" | .if (${MK_INET6} != "no" && ${MK_INET6_SUPPORT} != "no") | ||||
| CFLAGS+= -DINET6 | CFLAGS+= -DINET6 | ||||
| .endif | .endif | ||||
| Context not available. | |||||
these are probably better handled by having one of these be dependent on the other - i.e., WITHOUT_INET_SUPPORT should imply WITHOUT_INET I think. @bz ?