diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-21 21:57:00 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-21 21:57:00 +0000 |
commit | 38e875e52b1605bd3d6fcf6067cca98ed956c75e (patch) | |
tree | 922b86667ca480180bb548c100fce5fdcf885670 /mk | |
parent | cc8e8eb3c94ba95526c3f9ea2efa020f236bc216 (diff) | |
download | pkgsrc-38e875e52b1605bd3d6fcf6067cca98ed956c75e.tar.gz |
Check for libpthread.so.* file with -f instead of echo as suggested by
grant, because previous check was not working fine, I tested it under
OpenBSD 3.5 and now just works.
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 d022be64bce..8dd7861c04e 100644 --- a/mk/pthread.buildlink3.mk +++ b/mk/pthread.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pthread.buildlink3.mk,v 1.7 2004/06/21 00:06:37 xtraeme Exp $ +# $NetBSD: pthread.buildlink3.mk,v 1.8 2004/06/21 21:57:00 xtraeme Exp $ # # The pthreads strategy for pkgsrc is to "bless" a particular pthread # package as the Official Pthread Replacement (OPR). A package that uses @@ -166,7 +166,7 @@ BUILDLINK_LDADD.pthread= -lc_r # In OpenBSD there is no libpthread.so, just libpthread.so.X.X. . elif ${OPSYS} == "OpenBSD" _CHECK_LIBPTH!= \ - if [ "`echo /usr/lib/libpthread.so.*`" = "/usr/lib/libpthread.so.*" ]; then \ + if [ -f /usr/lib/libpthread.so.* ]; then \ echo "yes"; \ else \ echo "no"; \ |