summaryrefslogtreecommitdiff
path: root/mk/pthread.buildlink3.mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-06-21 21:57:00 +0000
committerxtraeme <xtraeme>2004-06-21 21:57:00 +0000
commit3b3f7be56a6da8646a258f26a5a84ccd9638272e (patch)
tree922b86667ca480180bb548c100fce5fdcf885670 /mk/pthread.buildlink3.mk
parent109727381ce43eb36f39116844ebeb75658faa78 (diff)
downloadpkgsrc-3b3f7be56a6da8646a258f26a5a84ccd9638272e.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.mk4
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"; \