Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 13:31:13 -0700 (PDT)
From:      Doug Barton <DougB@FreeBSD.org>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: -pthread is deprecated
Message-ID:  <20030914133030.W98857@12-234-22-23.pyvrag.nggov.pbz>
In-Reply-To: <20030914153706.GD93697@toxic.magnesium.net>
References:  <200309141925.39844.postfix@sendmail.ru> <20030914153706.GD93697@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Sep 2003, Adam Weinberger wrote:

> >> (09.14.2003 @ 1125 PST): tokza said, in 0.5K: <<
> > hello,
> > as you know, there is no more -pthread gcc flag in -current. but many ports
> > (kde3, for example) still wants it. So what should I do to compile kde3
> > succesfully? The one way I see now is to s/-pthread/-lc_r/g in Makefiles :-)
> > maybe there is another way?
> >> end of "-pthread is deprecated" from tokza <<
>
> s/-pthread/${PTHREAD_LIBS}/ is portable.

I actually tried that when recompiling kdebase on -current, and it gave
a whole lot of warnings about something no getting stubbed in properly.

Doug

-- 

    This .signature sanitized for your protection



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