From owner-freebsd-current Mon Feb 11 21: 6:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 70B3237B402; Mon, 11 Feb 2002 21:06:29 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g1C50nHw009452; Tue, 12 Feb 2002 00:00:49 -0500 (EST) Date: Tue, 12 Feb 2002 00:00:49 -0500 (EST) From: Daniel Eischen To: "Andrey A. Chernov" Cc: Gregory Neil Shapiro , freebsd-current@FreeBSD.ORG Subject: Re: UPDATED: For Review: sendmail 8.12.2 import into -CURRENT In-Reply-To: <20020212021239.30DEE9F137@okeeffe.bestweb.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 10 Feb 2002, Andrey A. Chernov wrote: > On Sun, Feb 10, 2002 at 12:13:05 -0800, Gregory Neil Shapiro wrote: > > > > http://people.freebsd.org/~gshapiro/CURRENT-8.12.2 > > --- lib/libmilter/Makefile~orig Sun Jan 20 13:58:03 2002 > +++ lib/libmilter/Makefile Sun Jan 20 13:05:02 2002 > @@ -0,0 +1,28 @@ > +# $FreeBSD$ > + > +MAINTAINER= gshapiro@FreeBSD.org > + > +SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail > +.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm > + > +CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. > +CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf > +CFLAGS+=-pthread > ^^^^^^^^^^^^^^^^^^^^^^ > > Why you add -pthread? IMHO it is needed only on program building 'ld' > phase and not in library building. See libc_r/Makefile And in -current, we don't want to use -pthread any longer. A threaded app built in -current should compile with -D_THREAD_SAFE (for POSIX semantics, but is really a noop in FreeBSD) and link with -lc_r. -pthread is deprecated. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message