diff options
author | heinz <heinz@pkgsrc.org> | 2003-11-20 11:13:51 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2003-11-20 11:13:51 +0000 |
commit | f1b393baa45c9bb5dfdf4b40416da9adaf7b7fc6 (patch) | |
tree | cfda4b691bc9ed0a9f5a5401016160891542aec3 /x11 | |
parent | fa0210cc538a601f1380748896d1a5121f294444 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | x11/openmotif/Makefile | 4 |
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}; \ |