cvs commit: ports/x11-toolkits/py-gtk2 Makefile

Kris Kennaway kris at obsecurity.org
Sat Mar 13 16:05:15 PST 2004


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20040313/a327ff52/attachment.bin


More information about the cvs-ports mailing list