From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 07:03:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 511A737B401 for ; Mon, 30 Jun 2003 07:03:44 -0700 (PDT) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD5343FEA for ; Mon, 30 Jun 2003 07:03:43 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030630140342.XDPH27254.pop017.verizon.net@mac.com>; Mon, 30 Jun 2003 09:03:42 -0500 Message-ID: <3F004336.5080907@mac.com> Date: Mon, 30 Jun 2003 10:03:34 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jamie References: <20030630085104.G3632-100000@floyd.gnulife.org> In-Reply-To: <20030630085104.G3632-100000@floyd.gnulife.org> X-Enigmail-Version: 0.76.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [141.149.47.46] at Mon, 30 Jun 2003 09:03:42 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Changing Sendmail prefix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 14:03:44 -0000 Jamie wrote: > I am trying to install sendmail-sasl from ports, but it is installing > the new sendmail in /usr/local. I would like the port install to overwrite > the existing sendmail. Is there any way to pass an option to my make when > I build the ports? I don't see any options for that in the makefile, but > perhaps I am reading it wrong. Thanks, You might be able to do to a "make PREFIX=/usr" and see whether that gets you the right path. You can also tell the system to recompile sendmail against the SASL library so that a "make buildworld/installworld" won't overwrite this. Change /etc/make.conf to add something like this: #SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 #SENDMAIL_LDFLAGS+= -L/usr/local/lib #SENDMAIL_LDADD+= -lsasl2 -- -Chuck