summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-05-23 15:09:06 +0000
committerheinz <heinz@pkgsrc.org>2004-05-23 15:09:06 +0000
commitab369beb4f86166e2039fd9f12aecf1cab12a5d7 (patch)
treeec9c3459f3d75800c35364c49789525088b9ad3c /lang
parent2b4fdcd185d271070f023445fc3782ab754f885b (diff)
downloadpkgsrc-ab369beb4f86166e2039fd9f12aecf1cab12a5d7.tar.gz
Use option "-r" instead of "-e" for the '[' command since this is not
portable to some operating systems (eg UnixWare or IRIX 5).
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl-tclX/Makefile4
-rw-r--r--lang/tk-tclX/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/lang/tcl-tclX/Makefile b/lang/tcl-tclX/Makefile
index 0d5caee7392..d77d40594c5 100644
--- a/lang/tcl-tclX/Makefile
+++ b/lang/tcl-tclX/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/05/13 22:06:03 minskim Exp $
+# $NetBSD: Makefile,v 1.20 2004/05/23 15:09:06 heinz Exp $
#
DISTNAME= tclx8.3.5-src
@@ -38,7 +38,7 @@ INSTALLATION_DIRS= bin include
post-extract:
@${MV} ${WRKSRC}/../doc/Memory.n ${WRKSRC}/../doc/TclXMemory.n
- @if [ ! -e ${PKGSRC_TCL_SRC_DIR} ]; then \
+ @if [ ! -r ${PKGSRC_TCL_SRC_DIR} ]; then \
cd ../../lang/tcl && ${MAKE} extract; \
fi
diff --git a/lang/tk-tclX/Makefile b/lang/tk-tclX/Makefile
index 76682d4afa8..ee1fe67e4a1 100644
--- a/lang/tk-tclX/Makefile
+++ b/lang/tk-tclX/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/05/13 22:06:04 minskim Exp $
+# $NetBSD: Makefile,v 1.18 2004/05/23 15:09:06 heinz Exp $
#
DISTNAME= tclx8.3.5-src
@@ -45,10 +45,10 @@ INSTALLATION_DIRS= bin include
post-extract:
${MV} ${WRKSRC}/../doc/Memory.n ${WRKSRC}/../doc/TclXMemory.n
- @if [ ! -e ${_PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.4.6 ]; then \
+ @if [ ! -r ${_PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.4.6 ]; then \
cd ../../lang/tcl && ${MAKE} extract; \
fi
- @if [ ! -e ${_PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.4.6 ]; then \
+ @if [ ! -r ${_PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.4.6 ]; then \
cd ../../x11/tk && ${MAKE} extract; \
fi