pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/zope29 Fixing permissions is done in the post-extr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2230d667eb1a
branches:  trunk
changeset: 537921:2230d667eb1a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jan 21 07:17:49 2008 +0000

description:
Fixing permissions is done in the post-extract stage, since it belongs
there, not in post-patch.

There's no need to use xargs -0: Solaris doesn't know that option, POSIX
doesn't require it, and all the filenames are sane anyway.

diffstat:

 www/zope29/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r ddfc52ac7843 -r 2230d667eb1a www/zope29/Makefile
--- a/www/zope29/Makefile       Mon Jan 21 06:11:09 2008 +0000
+++ b/www/zope29/Makefile       Mon Jan 21 07:17:49 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/01/06 15:57:45 taca Exp $
+# $NetBSD: Makefile,v 1.16 2008/01/21 07:17:49 rillig Exp $
 # FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
 
 DISTNAME=      Zope-${ZOPE29_VERSION}-final
@@ -44,9 +44,9 @@
        ${CP} ../zope/files/sitecustomize.py ${WRKSRC}/lib/python
        ${RM} -f ${WRKSRC}/skel/bin/runzope.bat.in
 
-post-patch:
-       ${FIND} ${WRKSRC}/doc ${WRKSRC}/lib ${WRKSRC}/skel/import \
-               -type f -print0 | ${XARGS} -0 -- ${CHMOD} -x
+post-extract:
+       cd ${WRKSRC} && ${FIND} doc lib skel/import -type f -print \
+       | ${XARGS} ${CHMOD} -x
 
 post-build:
        cd ${WRKSRC}; ${PY_COMPILE_ALL} .



Home | Main Index | Thread Index | Old Index