From owner-cvs-all Wed Sep 13 17: 0:20 2000 Delivered-To: cvs-all@freebsd.org Received: from netplex.com.au (adsl-63-207-30-186.dsl.snfc21.pacbell.net [63.207.30.186]) by hub.freebsd.org (Postfix) with ESMTP id 9547E37B424; Wed, 13 Sep 2000 17:00:16 -0700 (PDT) Received: from netplex.com.au (peter@localhost [127.0.0.1]) by netplex.com.au (8.11.0/8.9.3) with ESMTP id e8DNuSG96781; Wed, 13 Sep 2000 16:56:29 -0700 (PDT) (envelope-from peter@netplex.com.au) Message-Id: <200009132356.e8DNuSG96781@netplex.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Paul Richards Cc: John Baldwin , "Steven E. Ames" , Gregory Neil Shapiro , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sendmail Makefile In-Reply-To: <39C010F6.180C3FBE@originative.co.uk> Date: Wed, 13 Sep 2000 16:56:28 -0700 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Richards wrote: > 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 Except we aren't meant to be hardcoding the paths. eg: /opt/sasl/{include,lib} is supposed to be supported. The build has no business hardcoding /usr/local in it. Yes, I know there are some places left, but we need to fix those few, not add more. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message