From owner-freebsd-stable Tue May 7 9:43:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id B5CEF37B401 for ; Tue, 7 May 2002 09:43:12 -0700 (PDT) Received: from [172.22.42.2] (peace.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.11.6/8.11.6) with ESMTP id g47GhBG64680 for ; Tue, 7 May 2002 10:43:11 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Tue, 07 May 2002 10:43:14 -0600 Subject: Re: overriding NETINET6 builds for sendmail From: Ian To: freebsd-stable Message-ID: In-Reply-To: <5.1.0.14.0.20020507095214.04a593b0@marble.sentex.ca> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message