summaryrefslogtreecommitdiff
path: root/print/ja-ptex-bin
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 /print/ja-ptex-bin
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 'print/ja-ptex-bin')
-rw-r--r--print/ja-ptex-bin/Makefile6
1 files changed, 3 insertions, 3 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;