From owner-freebsd-ports Wed May 2 11:10: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 98B3337B424 for ; Wed, 2 May 2001 11:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f42IA3358765; Wed, 2 May 2001 11:10:03 -0700 (PDT) (envelope-from gnats) Date: Wed, 2 May 2001 11:10:03 -0700 (PDT) Message-Id: <200105021810.f42IA3358765@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: George Reid Subject: Re: ports/27036: All Ports using Mesa3 are required with -pthread. Reply-To: George Reid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/27036; it has been noted by GNATS. From: George Reid To: nork@cityfujisawa.ne.jp Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: ports/27036: All Ports using Mesa3 are required with -pthread. Date: Wed, 2 May 2001 19:06:00 +0100 (BST) On Wed, 2 May 2001 nork@cityfujisawa.ne.jp wrote: > >Description: > I cannot compile many ports(i.e. x11-clocks/glclock, > games/gltron, mail/glbiff, ...) using graphics/Mesa3. Because these > are required with -pthread flag in compile or link time. A quick grep of the errorlogs on bento yields: FlightGear-0.6.1 battalion-1.4 battleball-2.1 bzflag-1.7e.2 flwm-1.00 giram-0.1.7 glasteroids-1.0 glbiff-0.3.5 glclock-5.0 gle-3.0.1 gleyes-0.2 glload-0.4.0 gltron-0.61 gracer-0.1.4 gtkglarea-1.2.2 knightcap-3.6 opendx-4.1.0_1 openuniverse-1.0.b3 pose-3.1 spiralloops-0.0.1 spiralsynth-0.1.7 tank-0.4a togl-1.5 vtk-3.2 wmanager-0.2 xdiskusage-1.41 xracer-0.94 Since these ports presumably respect CFLAGS, perhaps USE_MESA in bsd.port.mk could be modified to add PTHREAD_CFLAGS to CFLAGS and PTHREAD_LIBS to LDFLAGS. Perhaps not the best solution, just a quick idea off the top of my head. greid To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message