diff options
author | tv <tv> | 2006-11-10 17:34:09 +0000 |
---|---|---|
committer | tv <tv> | 2006-11-10 17:34:09 +0000 |
commit | 4ca88909e9c383f10c1863d2847228069c00c053 (patch) | |
tree | d14029e2529c2e6d34dc0be3357cb0bc70b8c46d /mail/ja-squirrelmail | |
parent | 2f00d2f927ed73bd5fe22281ca5fb3952a8d72b7 (diff) | |
download | pkgsrc-4ca88909e9c383f10c1863d2847228069c00c053.tar.gz |
Use find -print | xargs rather than find -exec.
Diffstat (limited to 'mail/ja-squirrelmail')
-rw-r--r-- | mail/ja-squirrelmail/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/ja-squirrelmail/Makefile b/mail/ja-squirrelmail/Makefile index 04e0cc3fe0c..a1fa255f7cf 100644 --- a/mail/ja-squirrelmail/Makefile +++ b/mail/ja-squirrelmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2006/08/27 10:40:39 martti Exp $ +# $NetBSD: Makefile,v 1.34 2006/11/10 17:37:13 tv Exp $ DISTNAME= squirrelmail-1.4.8 PKGNAME= ja-${DISTNAME} @@ -69,7 +69,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} @@ -77,8 +77,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}/ |