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
commit214f735e4d7a2a2ac77391d8a1b3cd9aa26aa413 (patch)
treecfda4b691bc9ed0a9f5a5401016160891542aec3 /x11/openmotif
parent541a6bb9d6b0d23c4b4df8b1757dcfbe477a9c7f (diff)
downloadpkgsrc-214f735e4d7a2a2ac77391d8a1b3cd9aa26aa413.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}; \