pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Check for libpthread.so.* file with -f instead of e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89d11a996fc9
branches:  trunk
changeset: 476882:89d11a996fc9
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Jun 21 21:57:00 2004 +0000

description:
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:

 mk/pthread.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 07687712dbed -r 89d11a996fc9 mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk  Mon Jun 21 21:55:45 2004 +0000
+++ b/mk/pthread.buildlink3.mk  Mon Jun 21 21:57:00 2004 +0000
@@ -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 @@
 # 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";      \



Home | Main Index | Thread Index | Old Index