From owner-freebsd-ports Sun Jun 10 10:18:45 2001 Delivered-To: freebsd-ports@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 26A4737B401 for ; Sun, 10 Jun 2001 10:18:41 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f5AHITg33796; Sun, 10 Jun 2001 10:18:33 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Sun, 10 Jun 2001 10:18:27 -0700 (PDT) From: Matthew Jacob Reply-To: To: Doug Barton Cc: John Polstra , Subject: Re: not sure if this is a good patch or not... (fwd) In-Reply-To: <3B22B05F.16227A31@DougBarton.net> Message-ID: <20010610101802.L7065-100000@wonky.feral.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 I didn't quite follow how this is supposed to be used. I made a half-hearte= d attempt to figure it out, but couldn't follow it. On Sat, 9 Jun 2001, Doug Barton wrote: > =09It's much better to use the value of ${PTHREAD_LIBS} somehow, possibly= in > CONFIGURE_ENV if the port will support it. PTHREAD_LIBS does the right > thing on both -current and RELENG_4. > > Doug > > John Polstra wrote: > > > > In article <20010609132536.R4572-100000@wonky.feral.com>, > > Matthew Jacob wrote: > > > > > Needed to compile under 4.3: > > > > > > Index: files/patch-Makefile.Linux.Mesa > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > RCS file: /home/ncvs/ports/games/tank/files/patch-Makefile.Linux.Mesa= ,v > > > retrieving revision 1.1 > > > diff -u -r1.1 patch-Makefile.Linux.Mesa > > > --- files/patch-Makefile.Linux.Mesa 2001/03/14 12:20:49 1.1 > > > +++ files/patch-Makefile.Linux.Mesa 2001/06/09 20:16:59 > > > @@ -38,7 +38,7 @@ > > > $(CC) -o $(EXECNAME) $(Obj) $(LDFLAGS) \ > > > - -lMesaaux -lMesatk -lMesaGLU -lMesaGL \ > > > - -lXext -lX11 -lm > > > -+ -laux -lGLU -lGL -lXext -lX11 -lm > > > ++ -laux -lGLU -lGL -lXext -lX11 -lm -lc_r > > > @echo "****** Done ******" > > > > > > linux: $(Obj) > > > > > > > Not a good patch. Add "-pthread" to LDFLAGS instead. The patch as > > it stands will link in both -lc_r and -lc, but the two cannot coexist > > safely. > > > > John > > -- > > John Polstra jdp@polstr= a.com > > John D. Polstra & Co., Inc. Seattle, Washingto= n USA > > "Disappointment is a good sign of basic intelligence." -- Ch=F6gyam = Trungpa > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ports" in the body of the message > > -- > If you're never wrong, you're not trying hard enough. > > Do YOU Yahoo!? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message