Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Tobias Nygren <tnn@netbsd.org>
List: pkgsrc-changes
Date: 04/12/2007 18:42:02
Module Name:	pkgsrc
Committed By:	tnn
Date:		Thu Apr 12 18:42:02 UTC 2007

Modified Files:
	pkgsrc/mk: pthread.builtin.mk

Log Message:
OSF1 always needs _REENTRANT to be defined when including pthread.h, or it
will bail out with an #error preprocessing directive, regardless of whether
we actually link to libpthread or not.
NB: We can't just sprinkle PTHREAD_AUTO_VARS=YES on the affected packages,
because that would introduce a libpthread.so dependency where such isn't
wanted. (MesaLib, glitz, ...)
For this reason -D_REENTRANT is added directly to CFLAGS.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/pthread.builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.