Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 23:28:26 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        Doug Barton <DougB@DougBarton.net>, John Polstra <jdp@polstra.com>, ports@FreeBSD.ORG
Subject:   Re: not sure if this is a good patch or not... (fwd)
Message-ID:  <20010610232826.A11385@zerogravity.kawo2.rwth-aachen.d>
In-Reply-To: <20010610101802.L7065-100000@wonky.feral.com>; from mjacob@feral.com on Sun, Jun 10, 2001 at 10:18:27AM -0700
References:  <3B22B05F.16227A31@DougBarton.net> <20010610101802.L7065-100000@wonky.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Matthew Jacob (mjacob@feral.com):

> I didn't quite follow how this is supposed to be used. I made a half-hearted
> attempt to figure it out, but couldn't follow it.

in the ports Makefile, use something like
MAKE_ENV+=              PTHREAD_LIBS="${PTHREAD_LIBS}" \
                        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"

and then access $(PTHREAD_LIBS) in the Makefile of the distrib.

> > > > -+    -laux -lGLU -lGL -lXext -lX11 -lm
> > > > ++    -laux -lGLU -lGL -lXext -lX11 -lm $(PTHREAD_LIBS)

same for CFLAGS

Alex

-- 
cat: /home/alex/.sig: No such file or directory

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?20010610232826.A11385>