Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 00:42:46 +0100
From:      Paul Richards <paul@originative.co.uk>
To:        John Baldwin <jhb@pike.osd.bsdi.com>
Cc:        "Steven E. Ames" <steve@virtual-voodoo.com>, Gregory Neil Shapiro <gshapiro@gshapiro.net>, Peter Wemm <peter@netplex.com.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sendmail Makefile
Message-ID:  <39C010F6.180C3FBE@originative.co.uk>
References:  <200009132020.NAA46530@pike.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> 

> Then you could have things like:
> 
> .ifdef(SENDMAIL_USE_SASL)
> SENDMAIL_CFLAGS+=-I/usr/local/include -DSASL
> ...
> .endif
> 
> If you wanted to have shortcuts for common extensions.  You could stick
> these in either sendmail's Makefile or make.conf.  Probably in sendmail's
> Makefile though.

More generic would be to add

.ifdef(USE_SASL)
CFLAGS+=-DSASL -I/usr/local/include/sasl
LDADD+=-L/usr/local/lib -lsasl
.endif

to the mk file so that other applications will use SASL if USE_SASL is
set in make.conf


Paul Richards
FreeBSD Services Ltd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C010F6.180C3FBE>