summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorheinz <heinz>2003-11-20 11:13:51 +0000
committerheinz <heinz>2003-11-20 11:13:51 +0000
commitbffe65baac7438b389f0f2c9303d1619b05dca06 (patch)
treecfda4b691bc9ed0a9f5a5401016160891542aec3 /x11
parent63fe8a19475d367552b4ff024af49715ed790234 (diff)
downloadpkgsrc-bffe65baac7438b389f0f2c9303d1619b05dca06.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')
-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}; \