Subject: Re: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny Lam <jlam@jgrind.org>
List: pkgsrc-changes
Date: 12/24/2001 11:35:51
On Mon, Dec 24, 2001 at 09:29:32PM +0200, Johnny C. Lam wrote:
> 
> Module Name:	pkgsrc
> Committed By:	jlam
> Date:		Mon Dec 24 19:29:32 UTC 2001
> 
> Modified Files:
> 	pkgsrc/mk: bsd.prefs.mk
> Added Files:
> 	pkgsrc/mk: pthread.buildlink.mk
> 
> Log Message:
> Initial implementation of pthread.buildlink.mk to transparently allow for
> using either the native pthread implementation or using a package pthread
> implementation instead, e.g. pth, ptl2, mit-pthreads, etc.  The only
> truly supported

"Ooops."  The full commit message (already changed in the repository) is:

Initial implementation of pthread.buildlink.mk to transparently allow for
using either the native pthread implementation or using a package pthread
implementation instead, e.g. pth, ptl2, mit-pthreads, etc.  The only
currently supported package pthread implementation is pth as it's the only
one with a buildlink.mk file.  An example usage is:

        USE_PTHREAD=    native pth
        .include "../../mk/pthread.buildlink.mk"

or a fancier example is:

        USE_PTHREAD=    native
        .include "../../mk/bsd.prefs.mk"
        .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
        CONFIGURE_ARGS+= --without-pthreads
        .endif
        .include "../../mk/pthread.buildlink.mk"

	-- Johnny Lam <jlam@jgrind.org>