pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ntp4 Use more portable find -print0 (instead of -p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b9e3c1c45da
branches:  trunk
changeset: 467611:5b9e3c1c45da
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Feb 03 23:04:41 2004 +0000

description:
Use more portable find -print0 (instead of -printx).
Okay'd by maintainer, fredb.

diffstat:

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

diffs (20 lines):

diff -r 511f9aa87061 -r 5b9e3c1c45da net/ntp4/Makefile
--- a/net/ntp4/Makefile Tue Feb 03 22:35:05 2004 +0000
+++ b/net/ntp4/Makefile Tue Feb 03 23:04:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2003/11/21 01:02:24 fredb Exp $
+# $NetBSD: Makefile,v 1.31 2004/02/03 23:04:41 reed Exp $
 #
 
 DISTNAME=      ntp-4.2.0
@@ -26,8 +26,8 @@
            ${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR};                     \
            ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR});               \
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ALL_NTP_DOCS};                    \
-       ${FIND} ${ALL_NTP_DOCS} -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \
-       ${FIND} ${ALL_NTP_DOCS} -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE};
+       ${FIND} ${ALL_NTP_DOCS} -type d -print0 | ${XARGS} -0 ${CHMOD} ${PKGDIRMODE}; \
+       ${FIND} ${ALL_NTP_DOCS} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE};
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index