diff options
author | heinz <heinz@pkgsrc.org> | 2004-01-28 23:41:08 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-01-28 23:41:08 +0000 |
commit | 1585f86d2828f616030f979e948e05154721c0f1 (patch) | |
tree | ee2dafb2951b2293a0cb414d389759b7dbafd231 | |
parent | 779292cca2b12d8eac709795b255efd626aa2a34 (diff) | |
download | pkgsrc-1585f86d2828f616030f979e948e05154721c0f1.tar.gz |
Do not use "find -d". This option is not available on all supported platforms.
-rw-r--r-- | textproc/py-dtml/Makefile | 7 | ||||
-rw-r--r-- | www/zope/Makefile | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/textproc/py-dtml/Makefile b/textproc/py-dtml/Makefile index 5393f2e3c3d..fb7f837d40d 100644 --- a/textproc/py-dtml/Makefile +++ b/textproc/py-dtml/Makefile @@ -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 @@ do-install: 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 --git a/www/zope/Makefile b/www/zope/Makefile index 18600db0579..a750752348c 100644 --- a/www/zope/Makefile +++ b/www/zope/Makefile @@ -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 @@ do-install: ${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 |