summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz>2004-05-15 13:57:12 +0000
committerheinz <heinz>2004-05-15 13:57:12 +0000
commit7790bc9d585e75bc0cc55087d0377e951baed236 (patch)
treea792dac59233ecfd05a390029c851a9397ea1a02
parent940bb5bef100b0c4241a467844c7af43ebc8bc10 (diff)
downloadpkgsrc-7790bc9d585e75bc0cc55087d0377e951baed236.tar.gz
Use option "-r" instead of "-e" for ${TEST} since this is not portable to some
operating systems (eg UnixWare).
-rw-r--r--graphics/mgl/Makefile4
-rw-r--r--pkgtools/x11-links/Makefile4
-rw-r--r--www/squid/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/graphics/mgl/Makefile b/graphics/mgl/Makefile
index ef617714aea..773d3493f06 100644
--- a/graphics/mgl/Makefile
+++ b/graphics/mgl/Makefile
@@ -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 @@ post-install:
.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 --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile
index a935b928b66..cb4942c0529 100644
--- a/pkgtools/x11-links/Makefile
+++ b/pkgtools/x11-links/Makefile
@@ -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 @@ do-build:
${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 --git a/www/squid/Makefile b/www/squid/Makefile
index 64a09c302a6..64bdd378a75 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -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 @@ post-install:
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 \