From owner-freebsd-ports Sat Mar 23 8:32:39 2002 Delivered-To: freebsd-ports@freebsd.org Received: from old-gate.pc88.gr.jp (old-gate.pc88.gr.jp [202.224.239.171]) by hub.freebsd.org (Postfix) with ESMTP id BDA1D37B417; Sat, 23 Mar 2002 08:32:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by old-gate.pc88.gr.jp (8.10.2+3.3W/3.7Wpl2-smtpcheck.patch2-gate[00-06-18/06:04:43]/smtpfeed 1.01) with ESMTP id g2NGWX810987; Sun, 24 Mar 2002 01:32:33 +0900 (JST) (envelope-from hidekazu@pc88.gr.jp) To: portmgr@FreeBSD.org Cc: ports@FreeBSD.org Subject: about PTHREAD_LIBS variable definition in bsd.port.mk From: Hidekazu Kuroki Reply-To: Hidekazu Kuroki X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?= X-URL: http://www.pc88.gr.jp/~hidekazu/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020324013231Z.hidekazu@pc88.gr.jp> Date: Sun, 24 Mar 2002 01:32:31 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 20 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, all There are following lines in bsd.port.mk. > .if ${OSVERSION} < 500016 > PTHREAD_CFLAGS= -D_THREAD_SAFE > PTHREAD_LIBS= "-pthread" > .else > PTHREAD_CFLAGS= -D_THREAD_SAFE > PTHREAD_LIBS= "-lc_r" > .endif But, don't libpthread.{a,so} exist in FreeBSD base once in the past? And if we build any port which is using PTHREAD_LIBS variable on RELEASE-4.5 or older, it is thought that a problem arises. Thanks. -------- hidekazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message