pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/mrt Do not use "find -d". This option is not avail...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b3481471368
branches:  trunk
changeset: 467314:9b3481471368
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jan 28 23:24:08 2004 +0000

description:
Do not use "find -d". This option is not available on all supported platforms.

diffstat:

 net/mrt/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 375721c1a894 -r 9b3481471368 net/mrt/Makefile
--- a/net/mrt/Makefile  Wed Jan 28 22:46:46 2004 +0000
+++ b/net/mrt/Makefile  Wed Jan 28 23:24:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/20 12:22:20 agc Exp $
+# $NetBSD: Makefile,v 1.8 2004/01/28 23:24:08 heinz Exp $
 #
 
 DISTNAME=      mrt-2.2.2a-Aug11
@@ -26,7 +26,7 @@
                ${PREFIX}/share/examples/mrt
        (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \
                >> ${PLIST_SRC})
-       (cd ${PREFIX}; ${FIND} -d share/examples/mrt -type d -print | \
-               ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+       (cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \
+               ${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index