diff options
author | obache <obache> | 2010-02-06 11:06:19 +0000 |
---|---|---|
committer | obache <obache> | 2010-02-06 11:06:19 +0000 |
commit | 39256c475e108b4e60124d13275aa607b6b5a7d6 (patch) | |
tree | 95731f6fb5b92bdd2eb476d3af913644f95a6f8c /mk | |
parent | b81ae26905ab67d409621bcd47813e8ae924a2d0 (diff) | |
download | pkgsrc-39256c475e108b4e60124d13275aa607b6b5a7d6.tar.gz |
Haiku does not have /usr/include/pthread.h,
but have native pthread support and pthread.h in include path.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pthread.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pthread.buildlink3.mk b/mk/pthread.buildlink3.mk index 918f8b38e70..ab6ee8a7413 100644 --- a/mk/pthread.buildlink3.mk +++ b/mk/pthread.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pthread.buildlink3.mk,v 1.28 2009/03/20 19:25:01 joerg Exp $ +# $NetBSD: pthread.buildlink3.mk,v 1.29 2010/02/06 11:06:19 obache Exp $ # # The pthreads strategy for pkgsrc is to "bless" a particular pthread # package as the Official Pthread Replacement (OPR). The following @@ -87,7 +87,7 @@ PTHREAD_OPTS?= # empty # of /usr/include/pthread.h (we might want to make this check stricter). # .undef PTHREAD_TYPE -.if exists(/usr/include/pthread.h) && \ +.if (exists(/usr/include/pthread.h) || ${OPSYS} == "Haiku") && \ !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]) PTHREAD_TYPE= native .else |