pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/cyrus-sasl2 Some xargs (Hi Sun) run the comma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6929ccbc7af9
branches:  trunk
changeset: 462455:6929ccbc7af9
user:      seb <seb%pkgsrc.org@localhost>
date:      Fri Oct 03 12:56:48 2003 +0000

description:
Some xargs (Hi Sun) run the command even when stdin is "empty". Compare
'echo | xargs echo' on NetBSD and Solaris...

Workaround this in post-extract target's 'rm' by adding a '-f' argument
to it.

XXX Current upstream tarball does not have .orig files, I could have
removed this post-extract target...

diffstat:

 security/cyrus-sasl2/Makefile.common |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dea352986717 -r 6929ccbc7af9 security/cyrus-sasl2/Makefile.common
--- a/security/cyrus-sasl2/Makefile.common      Fri Oct 03 10:34:02 2003 +0000
+++ b/security/cyrus-sasl2/Makefile.common      Fri Oct 03 12:56:48 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2003/09/13 19:08:50 jlam Exp $
+# $NetBSD: Makefile.common,v 1.7 2003/10/03 12:56:48 seb Exp $
 #
 # This Makefile fragment should be included _below_ and SASL_PLUGIN
 # definition and _above_ any CONFIGURE_ARGS definitions.
@@ -67,7 +67,7 @@
 # clean up a bit to help package maintainer produce patch files
 post-extract:
        ${_PKG_SILENT}${_PKG_DEBUG}                     \
-       ${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM}
+       ${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
 
 # Left here as reference for patch makers...
 #pre-configure:



Home | Main Index | Thread Index | Old Index