pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Do not use "find -d". This option is not available on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/221006fcceaa
branches:  trunk
changeset: 467315:221006fcceaa
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jan 28 23:41:08 2004 +0000

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

diffstat:

 textproc/py-dtml/Makefile |  7 ++++---
 www/zope/Makefile         |  4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 9b3481471368 -r 221006fcceaa textproc/py-dtml/Makefile
--- a/textproc/py-dtml/Makefile Wed Jan 28 23:24:08 2004 +0000
+++ b/textproc/py-dtml/Makefile Wed Jan 28 23:41:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/01/20 12:26:50 agc Exp $
+# $NetBSD: Makefile,v 1.15 2004/01/28 23:41:08 heinz Exp $
 #
 
 DISTNAME=      Zope-2.2.2-src
@@ -36,9 +36,10 @@
        cd ${PREFIX} && ${FIND} ${PY_SITEPATH}/DocumentTemplate \
                ${PY_SITEPATH}/StructuredText \
                -type f -print >>${PLIST_SRC}
-       cd ${PREFIX} && ${FIND} -d ${PY_SITEPATH}/DocumentTemplate \
+       cd ${PREFIX} && ${FIND} ${PY_SITEPATH}/DocumentTemplate \
                ${PY_SITEPATH}/StructuredText \
-               -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
+               -type d -print | ${SORT} -r | \
+               ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
 
 .include "../../lang/python20/Makefile.inc"
 .include "../../mk/bsd.pkg.mk"
diff -r 9b3481471368 -r 221006fcceaa www/zope/Makefile
--- a/www/zope/Makefile Wed Jan 28 23:24:08 2004 +0000
+++ b/www/zope/Makefile Wed Jan 28 23:41:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2003/07/17 22:56:08 grant Exp $
+# $NetBSD: Makefile,v 1.21 2004/01/28 23:50:00 heinz Exp $
 #
 
 DISTNAME=      Zope-2.2.2-src
@@ -38,7 +38,7 @@
                ${PREFIX}/lib/python2.0/compileall.py ${ZOPEDIR}
        ${CHMOD} -R a+rX ${ZOPEDIR}
        cd ${PREFIX} && ${FIND} lib/zope \( -type f -o -type l \) -print >>${PLIST_SRC}
-       cd ${PREFIX} && ${FIND} -d lib/zope -type d -print | \
+       cd ${PREFIX} && ${FIND} lib/zope -type d -print | ${SORT} -r | \
        ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
        ${SED} -e "s,/usr/pkg,${PREFIX}," \
                <${FILESDIR}/zope-install.py >${PREFIX}/sbin/zope-install



Home | Main Index | Thread Index | Old Index