pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/openmotif use 'test -d' for directories to improve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d82f4be061fd
branches: trunk
changeset: 463614:d82f4be061fd
user: heinz <heinz%pkgsrc.org@localhost>
date: Thu Nov 20 11:13:51 2003 +0000
description:
use 'test -d' for directories to improve portability (solves problem in http://mail-index.netbsd.org/tech-pkg/2003/11/19/0000.html)
diffstat:
x11/openmotif/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r bd99bdcc6517 -r d82f4be061fd x11/openmotif/Makefile
--- a/x11/openmotif/Makefile Thu Nov 20 10:06:22 2003 +0000
+++ b/x11/openmotif/Makefile Thu Nov 20 11:13:51 2003 +0000
@@ -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 @@
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}; \
Home |
Main Index |
Thread Index |
Old Index