>
> Is there a way to modify the sendmail build process via /etc/make.conf so
> that -DNETINET6 is always removed ?
>
> i.e.
> CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DNETINET6 -DTCPWRAPPERS ${MAPS}
> is
> CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DTCPWRAPPERS ${MAPS}
>
> Other than getting all the broken resolver sites in the world to fix the
> problem, this seems to be my only effective recourse.
>
> I can manually remove it from the 3 Makefiles, but was hoping there was an
> easier way to manage this via /etc/make.conf ?
>
Add the following to your /etc/make.conf
SENDMAIL_CFLAGS= -UNETINET6
According to the GCC manual, -U is processed after all -D on the command
line, so even if it appears earlier than the -DNETINET6 on the command line
it should have the effect of undefining the macro.
Of course, that's a literal answer to the question you asked, and doesn't
imply that you should discount anything Gregory is saying, since when it
comes to sendmail, he's da man.
-- Ian
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message