pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2003Q4]: pkgsrc/mail/mutt Pullup fixes for "ln -fs" on Solaris...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80882334154a
branches:  pkgsrc-2003Q4
changeset: 463707:80882334154a
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Dec 12 11:41:45 2003 +0000

description:
Pullup fixes for "ln -fs" on Solaris to the pkgsrc-2003Q4 branch, requested
by Grant Beattie.

        revision 1.108
        date: 2003/12/12 10:45:18;  author: grant;  state: Exp;  lines: +2 -1
        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.
        ----------------------------
        revision 1.107
        date: 2003/12/11 22:23:23;  author: grant;  state: Exp;  lines: +2 -2
        call ln with -f -s, not -fs.

diffstat:

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

diffs (19 lines):

diff -r 56833fb8f72a -r 80882334154a mail/mutt/Makefile
--- a/mail/mutt/Makefile        Fri Dec 12 11:35:20 2003 +0000
+++ b/mail/mutt/Makefile        Fri Dec 12 11:41:45 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105.2.1 2003/12/11 13:50:04 agc Exp $
+# $NetBSD: Makefile,v 1.105.2.2 2003/12/12 11:41:45 agc Exp $
 
 DISTNAME=              mutt-1.4.1i
 PKGNAME=                ${DISTNAME:C/i$//}
@@ -73,7 +73,8 @@
               < ${WRKSRC}/doc/mutt.man.in > ${WRKSRC}/doc/mutt.man
 
 post-install:
-       ${LN} -fs ${EGDIR} ${PREFIX}/share/doc/mutt/samples
+       ${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 \
                ${ECHO} "bin/mutt_dotlock" >> ${PLIST_SRC}; \



Home | Main Index | Thread Index | Old Index