Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2003 10:03:34 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Jamie <jamie@gnulife.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing Sendmail prefix
Message-ID:  <3F004336.5080907@mac.com>
In-Reply-To: <20030630085104.G3632-100000@floyd.gnulife.org>
References:  <20030630085104.G3632-100000@floyd.gnulife.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F004336.5080907>