diff options
author | tv <tv@pkgsrc.org> | 2006-11-10 17:34:09 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-11-10 17:34:09 +0000 |
commit | 0f6b1bb31cff2516edc9bcf840137c956e6cc822 (patch) | |
tree | d14029e2529c2e6d34dc0be3357cb0bc70b8c46d /mail/squirrelmail | |
parent | 782ab28b21ea8c65501535b0c04e27715f57f58a (diff) | |
download | pkgsrc-0f6b1bb31cff2516edc9bcf840137c956e6cc822.tar.gz |
Use find -print | xargs rather than find -exec.
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r-- | mail/squirrelmail/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile index 31c50ac88fe..cda81749a8d 100644 --- a/mail/squirrelmail/Makefile +++ b/mail/squirrelmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.76 2006/08/27 10:41:37 martti Exp $ +# $NetBSD: Makefile,v 1.77 2006/11/10 17:38:47 tv Exp $ DISTNAME= squirrelmail-1.4.8 #PKGREVISION= 1 @@ -64,7 +64,7 @@ post-extract: ${WRKDIR:Q}/squirrelmail.conf.dist pre-configure: - ${FIND} ${WRKSRC:Q} \( -name "*.orig*" -o -name ".cvsignore" \) -exec ${RM} -f {} \; + ${FIND} ${WRKSRC:Q} \( -name "*.orig*" -o -name ".cvsignore" \) -print | ${XARGS} ${RM} -f do-install: ${INSTALL_DATA_DIR} ${EGDIR:Q} @@ -72,8 +72,8 @@ do-install: ${INSTALL_DATA} ${WRKDIR:Q}/squirrelmail.conf.dist ${EGDIR:Q}/squirrelmail.conf ${CP} -R ${WRKSRC:Q}/* ${SMDIR:Q} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR} - ${FIND} ${SMDIR} -type d -print -exec ${CHMOD} ${PKGDIRMODE} {} \; - ${FIND} ${SMDIR} -type f -print -exec ${CHMOD} ${SHAREMODE} {} \; + ${FIND} ${SMDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} + ${FIND} ${SMDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} ${CHMOD} a+x ${SMDIR:Q}/config/conf.pl ${INSTALL_DATA} ${WRKSRC:Q}/data/index.php ${USER_PREFS_DIR:Q}/ ${INSTALL_DATA} ${WRKSRC:Q}/data/.htaccess ${USER_PREFS_DIR:Q}/ |