pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mutt explicitly remove the share/doc/mutt/example...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/897c57da7cd6
branches:  trunk
changeset: 464540:897c57da7cd6
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Dec 12 10:45:18 2003 +0000

description:
explicitly remove the share/doc/mutt/examples symlink before linking
it again, as ln(1) on Solaris won't overwrite an existing file. noted
by agc.

diffstat:

 mail/mutt/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 62c6f0670b01 -r 897c57da7cd6 mail/mutt/Makefile
--- a/mail/mutt/Makefile        Fri Dec 12 10:20:53 2003 +0000
+++ b/mail/mutt/Makefile        Fri Dec 12 10:45:18 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2003/12/11 22:23:23 grant Exp $
+# $NetBSD: Makefile,v 1.108 2003/12/12 10:45:18 grant Exp $
 
 DISTNAME=              mutt-1.4.1i
 PKGNAME=                ${DISTNAME:C/i$//}
@@ -73,6 +73,7 @@
               < ${WRKSRC}/doc/mutt.man.in > ${WRKSRC}/doc/mutt.man
 
 post-install:
+       ${RM} -f ${PREFIX}/share/doc/mutt/samples
        ${LN} -f -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples
        ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
        @if [ -f ${PREFIX}/bin/mutt_dotlock ]; then \



Home | Main Index | Thread Index | Old Index