ports/57057: Fix -pthread problem on current
kris at obsecurity.org
Sun Sep 21 21:10:18 UTC 2003
The following reply was made to PR ports/57057; it has been noted by GNATS.
From: Kris Kennaway <kris at obsecurity.org>
To: Rob Evers <rob at debank.tv>
Cc: bug-followup at freebsd.org, kris at obsecurity.org
Subject: Re: ports/57057: Fix -pthread problem on current
Date: Sun, 21 Sep 2003 14:03:41 -0700
Content-Type: text/plain; charset=us-ascii
On Sun, Sep 21, 2003 at 05:04:44PM +0200, Rob Evers wrote:
> >Submitter-Id: current-users
> >Originator: Rob Evers
> >Confidential: no=20
> >Synopsis: Fix -pthread problem on current
> >Severity: non-critical
> >Priority: low
> >Category: ports
> >Class: maintainer-update
> >Release: FreeBSD 4.9-PRERELEASE i386
> System: FreeBSD haha.debank.tv 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: =
Thu Sep 18 16:37:14 CEST 2003 rob at haha.debank.tv:/usr/obj/usr/src/sys/HAHA =
> Fix -pthread problems on current, use a replacement thread implementation.
This appears to be wrong on several counts. FreeBSD 5.x supports
pthreads, so you don't need to add a dependency on some other thread
port. Instead, you need to patch the port to use PTHREAD_LIBS and
PTHREAD_CFLAGS instead of hard-coding a specific value, because the
correct string is different on 4.x and 5.x.
This shouldn't be here either.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-ports-bugs