summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorheinz <heinz>2004-05-23 15:09:06 +0000
committerheinz <heinz>2004-05-23 15:09:06 +0000
commit5ba3b7582449bad0d219b531bce4df344b74dc8c (patch)
treeec9c3459f3d75800c35364c49789525088b9ad3c /print
parentd95ddf39a2e52c3815559260cc5b83800479ed46 (diff)
downloadpkgsrc-5ba3b7582449bad0d219b531bce4df344b74dc8c.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 'print')
-rw-r--r--print/ja-ptex-bin/Makefile6
-rw-r--r--print/texfamily/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/print/ja-ptex-bin/Makefile b/print/ja-ptex-bin/Makefile
index 7decd04653b..541f3053536 100644
--- a/print/ja-ptex-bin/Makefile
+++ b/print/ja-ptex-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/03/26 02:27:51 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2004/05/23 15:09:06 heinz Exp $
DISTNAME= ptex-src-${PTEX_VERS}
PKGNAME= ja-ptex-bin-${PTEX_VERS}
@@ -52,9 +52,9 @@ FILES_SUBST+= WRKDIR_=${WRKDIR_}
FILES_SUBST+= PATCH=${PATCH}
pre-extract:
- if [ ! -e ${WRKSRC} ]; then \
+ if [ ! -r ${WRKSRC} ]; then \
cd ../../print/teTeX-bin && ${MAKE} patch; \
- elif [ ! -e ${WRKSRC_PTEX} ]; then \
+ elif [ ! -r ${WRKSRC_PTEX} ]; then \
cd ../../print/teTeX-bin && ${MAKE} clean; ${MAKE} patch; \
fi;
diff --git a/print/texfamily/Makefile b/print/texfamily/Makefile
index 84a008f94d7..76ed3e8bed6 100644
--- a/print/texfamily/Makefile
+++ b/print/texfamily/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/03/26 02:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/23 15:09:06 heinz Exp $
DISTNAME= TeXfamily-1.2.1
PKGREVISION= 5
@@ -82,9 +82,9 @@ TEXFAMILY_DVIPSVERSION= 1.5g
TEXFAMILY_MENDEXVERSION=2.5
pre-extract:
- if [ ! -e ${WRKSRC} ]; then \
+ if [ ! -r ${WRKSRC} ]; then \
cd ../../print/teTeX1-bin && ${MAKE} patch; \
- elif [ ! -e ${WRKSRC}/texk/texfam.ac ]; then \
+ elif [ ! -r ${WRKSRC}/texk/texfam.ac ]; then \
cd ../../print/teTeX1-bin && ${MAKE} clean; ${MAKE} patch; \
fi