diff options
author | xtraeme <xtraeme> | 2004-06-21 21:57:00 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-06-21 21:57:00 +0000 |
commit | 89296a46fdbf1b26acae81f403c78ceb4bdace98 (patch) | |
tree | 922b86667ca480180bb548c100fce5fdcf885670 /mk/pthread.buildlink3.mk | |
parent | e78e4f400c49f52b49b7840f7bd791cb8ef7899d (diff) | |
download | pkgsrc-89296a46fdbf1b26acae81f403c78ceb4bdace98.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/pthread.buildlink3.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"; \ |