summaryrefslogtreecommitdiff
path: root/x11/openmotif
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2003-11-20 11:13:51 +0000
committerheinz <heinz@pkgsrc.org>2003-11-20 11:13:51 +0000
commitf1b393baa45c9bb5dfdf4b40416da9adaf7b7fc6 (patch)
treecfda4b691bc9ed0a9f5a5401016160891542aec3 /x11/openmotif
parentfa0210cc538a601f1380748896d1a5121f294444 (diff)
downloadpkgsrc-f1b393baa45c9bb5dfdf4b40416da9adaf7b7fc6.tar.gz
use 'test -d' for directories to improve portability (solves problem in http://mail-index.netbsd.org/tech-pkg/2003/11/19/0000.html)
Diffstat (limited to 'x11/openmotif')
-rw-r--r--x11/openmotif/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/openmotif/Makefile b/x11/openmotif/Makefile
index aeb5b6bc2a1..5c1ffb3c30a 100644
--- a/x11/openmotif/Makefile
+++ b/x11/openmotif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2003/09/09 12:23:28 martti Exp $
+# $NetBSD: Makefile,v 1.23 2003/11/20 11:13:51 heinz Exp $
# FreeBSD: /c/ncvs/ports/x11-toolkits/open-motif/Makefile,v 1.18 2000/10/09 01:40:02 asami Exp
# OpenBSD: Makefile,v 1.5 2000/10/23 16:08:12 espie Exp
@@ -86,7 +86,7 @@ post-patch:
do-configure:
${MKDIR} ${WRKSRC}/imports/x11
cd ${WRKSRC}/imports/x11; for dir in bin include lib; do \
- if [ -e $${dir} ]; then \
+ if [ -d $${dir} ]; then \
${RM} $${dir}; \
fi; \
${LN} -s ${BUILDLINK_X11_DIR}/$${dir} $${dir}; \