pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/spamassassin Don't install unpatched (*.orig) fil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d5bc84cebb9
branches:  trunk
changeset: 461301:1d5bc84cebb9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Sep 13 21:24:23 2003 +0000

description:
Don't install unpatched (*.orig) files leftover from the patch process.

diffstat:

 mail/spamassassin/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 98560251df91 -r 1d5bc84cebb9 mail/spamassassin/Makefile
--- a/mail/spamassassin/Makefile        Sat Sep 13 21:21:25 2003 +0000
+++ b/mail/spamassassin/Makefile        Sat Sep 13 21:24:23 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2003/09/13 17:57:21 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2003/09/13 21:24:23 jlam Exp $
 
 DISTNAME=      Mail-SpamAssassin-2.55
 PKGNAME=       spamassassin-2.55
@@ -106,6 +106,9 @@
 
 pre-configure: perl5-configure
 
+post-build:
+       @${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
+
 pre-install:
        @-${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; :
        @${INSTALL_DATA_DIR} ${EGDIR}



Home | Main Index | Thread Index | Old Index