pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk eww, replace another [ with ${TEST}.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/892ddc883559
branches:  trunk
changeset: 478617:892ddc883559
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Jul 27 11:30:55 2004 +0000

description:
eww, replace another [ with ${TEST}.

diffstat:

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

diffs (18 lines):

diff -r 252b0d8610c1 -r 892ddc883559 mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk  Tue Jul 27 11:28:41 2004 +0000
+++ b/mk/pthread.buildlink3.mk  Tue Jul 27 11:30:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.10 2004/07/27 11:28:41 xtraeme Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.11 2004/07/27 11:30:55 xtraeme Exp $
 #
 # The pthreads strategy for pkgsrc is to "bless" a particular pthread
 # package as the Official Pthread Replacement (OPR).  A package that uses
@@ -165,7 +165,7 @@
 # In OpenBSD there is no libpthread.so, just libpthread.so.X.X.
 .  elif ${OPSYS} == "OpenBSD"
 _CHECK_LIBPTH!=        \
-       if [ -f /usr/lib/libpthread.so.* ]; then \
+       if ${TEST} -f /usr/lib/libpthread.so.*; then \
                ${ECHO} "yes";  \
        else                    \
                ${ECHO} "no";   \



Home | Main Index | Thread Index | Old Index