Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 16:05:13 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/x11-toolkits/py-gtk2 Makefile
Message-ID:  <20040314000513.GB65109@xor.obsecurity.org>
In-Reply-To: <200403131801.i2DI1Xqn098604@repoman.freebsd.org>
References:  <200403131801.i2DI1Xqn098604@repoman.freebsd.org>

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

[-- Attachment #1 --]
On Sat, Mar 13, 2004 at 10:01:33AM -0800, Joe Marcus Clarke wrote:
> marcus      2004/03/13 10:01:33 PST
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     x11-toolkits/py-gtk2 Makefile 
>   Log:
>   Correct a typo that prevented thread support from being enabled.
>   
>   Submitted by:   Davide D'Amico <dave@civetta.gufi.org>

Why is this necessary?

> | -LIBC_R!=	/sbin/ldconfig -r | grep "c_r|pthread" || true
> | +LIBC_R!=	/sbin/ldconfig -r | grep "c_r\|pthread" || true
> |  .if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
> |  CONFIGURE_ARGS+=	--enable-thread
> |  CFLAGS+=		${PTHREAD_CFLAGS}

By default, every FreeBSD platform supports threads in one form or
another (but via the same interface, PTHREAD_{CFLAGS,LIBS}) -- your
test omits testing for libthr, by the way.  The only way someone will
have arrived at a system without threads is if they have disabled it
with make.conf variables, so can't you just test for those if you want
to support those systems?

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAU6G5Wry0BWjoQKURAnfRAKDgeK/PvKovqYmGXazfY4cRYlUaRACgnrHU
KiTXUq3BhMhiEFIeDWaDPdE=
=ZioY
-----END PGP SIGNATURE-----
help

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