Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 21:21:39 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter Schultz <pmes@bis.midco.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: cvs commit: ports/graphics/xaos Makefile
Message-ID:  <20040227052139.GA13312@xor.obsecurity.org>
In-Reply-To: <403ED260.1060707@bis.midco.net>
References:  <200402251000.i1PA0nGn056196@repoman.freebsd.org> <403E0B90.9040106@bis.midco.net> <20040226203351.GB5915@xor.obsecurity.org> <403EA170.9080100@bis.midco.net> <20040227015101.GA10403@xor.obsecurity.org> <403EAF98.7080009@bis.midco.net> <20040227031312.GA11697@xor.obsecurity.org> <403EB9C5.3020108@bis.midco.net> <20040227033527.GA12083@xor.obsecurity.org> <403ED260.1060707@bis.midco.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 26, 2004 at 11:15:12PM -0600, Peter Schultz wrote:
> Kris Kennaway wrote:
> >On Thu, Feb 26, 2004 at 09:30:13PM -0600, Peter Schultz wrote:
> >
> >>Kris Kennaway wrote:
> >>
> >>>Many ports do not correctly use PTHREAD_{CFLAGS,LIBS}, but that's no
> >>>reason to add another incorrect one.
> >>>
> >>>Kris
> >>
> >>Where is this correctly outlined?  What I'm finding is wildly varying.
> >
> >
> >In my email :-)
> >
> >Kris
>=20
> This ?
>=20
> CONFIGURE_ENV=3D  CFLAGS=3D"-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
>                 LDFLAGS=3D"-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

That might be an appropriate solution, if everything compiled by the
port is threaded.  Of course, if there's a non-threaded application in
there as well (or there's a threaded application in the port that
doesn't respect CFLAGS or LDFLAGS) then it's wrong.

Kris

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAPtPjWry0BWjoQKURAtjDAKCI0aPkHsmy/EBjFqP0lMKjV5UYggCbBhJR
5P7DzMiekF1MP4TYVCC/v1w=
=kgFI
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--



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