pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Use option "-r" instead of "-e" for ${TEST} since this...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d738ea1b5f6
branches:  trunk
changeset: 475396:2d738ea1b5f6
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat May 15 13:57:12 2004 +0000

description:
Use option "-r" instead of "-e" for ${TEST} since this is not portable to some
operating systems (eg UnixWare).

diffstat:

 graphics/mgl/Makefile       |  4 ++--
 pkgtools/x11-links/Makefile |  4 ++--
 www/squid/Makefile          |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r d9283d0cfe7d -r 2d738ea1b5f6 graphics/mgl/Makefile
--- a/graphics/mgl/Makefile     Sat May 15 13:38:29 2004 +0000
+++ b/graphics/mgl/Makefile     Sat May 15 13:57:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/04/24 00:46:15 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2004/05/15 13:57:12 heinz Exp $
 #
 
 DISTNAME=       mgl2-alpha-020
@@ -64,7 +64,7 @@
 .endfor
        ${LN} -s mglcons.sh ${PREFIX}/bin/start_mgl.sh
 
-       @if ${TEST} -e ${PREFIX}/bin/mglsvrcons; \
+       @if ${TEST} -r ${PREFIX}/bin/mglsvrcons; \
                then ${MV} -f ${PREFIX}/bin/mglsvrcons ${PREFIX}/sbin/; \
        fi
        # The following three commands are only present on hpcmips:
diff -r d9283d0cfe7d -r 2d738ea1b5f6 pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile       Sat May 15 13:38:29 2004 +0000
+++ b/pkgtools/x11-links/Makefile       Sat May 15 13:57:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2004/03/11 05:16:49 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2004/05/15 13:57:12 heinz Exp $
 #
 # NOTE:        If you update this package, then you'll likely need to also update
 #      the x11-links dependency in mk/buildlink[23]/bsd.buildlink[23].mk
@@ -61,7 +61,7 @@
        ${RM} -f ${PLIST_SRC.files}
        ${FILES_LIST_CMD} | ${SORT} -u |                                \
        while read file; do                                             \
-               if ${TEST} -e ${X11BASE}/$$file; then                   \
+               if ${TEST} -r ${X11BASE}/$$file; then                   \
                        ${LN} -fs ${X11BASE}/$$file                     \
                                ${X11_LINKS_BUILD_DIR}/$$file;          \
                        ${ECHO} "${X11_LINKS_SUBDIR}/$$file"            \
diff -r d9283d0cfe7d -r 2d738ea1b5f6 www/squid/Makefile
--- a/www/squid/Makefile        Sat May 15 13:38:29 2004 +0000
+++ b/www/squid/Makefile        Sat May 15 13:57:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2004/05/06 14:44:53 taca Exp $
+# $NetBSD: Makefile,v 1.107 2004/05/15 13:57:12 heinz Exp $
 
 DISTNAME=      squid-2.5.STABLE5
 PKGNAME=       squid-2.5.5
@@ -104,7 +104,7 @@
        done
        @(                                                      \
        for FILE in ${OPTIONAL_FILES}; do                       \
-         ${TEST} ! -e ${PREFIX}/$$FILE || ${ECHO} $$FILE;      \
+         ${TEST} ! -r ${PREFIX}/$$FILE || ${ECHO} $$FILE;      \
        done;                                                   \
        cd ${WRKSRC}/errors;                                    \
        for i in *; do                                          \



Home | Main Index | Thread Index | Old Index