From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 14:48:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6EE216A4C0; Tue, 9 Sep 2003 14:48:29 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C4E43FA3; Tue, 9 Sep 2003 14:48:27 -0700 (PDT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])163259EA4; Tue, 9 Sep 2003 23:48:26 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 1C0C0960AE; Tue, 9 Sep 2003 23:48:17 +0200 (CEST) To: Doug Barton In-Reply-To: <20030909010434.H26496@znfgre.qbhto.arg> (Doug Barton's message of "Tue, 9 Sep 2003 01:07:46 -0700 (PDT)") References: <20030909042349.GA686@chihiro.leafy.idv.tw> <200309090942.17317@harrymail> <20030909010434.H26496@znfgre.qbhto.arg> From: Matthias Andree Date: Tue, 09 Sep 2003 23:48:17 +0200 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-current@freebsd.org cc: Harald Schmalzbauer Subject: Re: -pthread deprecated, but when? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 21:48:29 -0000 Doug Barton writes: > @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched > @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \ How about: ${SED} -Ee 's#-l?pthread#${PTHREAD_LIBS}#g' \ That's the one necessary to catch -pthread (such as BerkeleyDB) in addition to -lpthread. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95