Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 01:32:31 +0900
From:      Hidekazu Kuroki <hidekazu@pc88.gr.jp>
To:        portmgr@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   about PTHREAD_LIBS variable definition in bsd.port.mk
Message-ID:  <20020324013231Z.hidekazu@pc88.gr.jp>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324013231Z.hidekazu>