pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/tmda Remove any *.orig files (e.g., tmda-ofmipd.o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b61437fb6c84
branches:  trunk
changeset: 522825:b61437fb6c84
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Dec 26 06:44:16 2006 +0000

description:
Remove any *.orig files (e.g., tmda-ofmipd.orig) before installation
to prevent their being erroneously installed. Found by bulk build.
No change to PLIST, hence no PKGREVISION bump.

diffstat:

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

diffs (19 lines):

diff -r c912fdb06a16 -r b61437fb6c84 mail/tmda/Makefile
--- a/mail/tmda/Makefile        Mon Dec 25 18:44:48 2006 +0000
+++ b/mail/tmda/Makefile        Tue Dec 26 06:44:16 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/12/20 03:22:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.33 2006/12/26 06:44:16 schmonz Exp $
 #
 
 DISTNAME=      tmda-1.1.9
@@ -52,6 +52,9 @@
 do-build:
        cd ${WRKSRC} && ${PYTHONBIN} ./compileall
 
+pre-install:
+       ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
+
 do-install:
        for f in ${TMDA_PROGRAMS}; do \
                ${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/bin; \



Home | Main Index | Thread Index | Old Index