pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mutt Fix badly botched package list handling in c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/150e8c14f32d
branches:  trunk
changeset: 464492:150e8c14f32d
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Dec 11 07:15:18 2003 +0000

description:
Fix badly botched package list handling in case "mutt_dotlock" exists.

diffstat:

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

diffs (30 lines):

diff -r cd501abaeac9 -r 150e8c14f32d mail/mutt/Makefile
--- a/mail/mutt/Makefile        Thu Dec 11 00:06:29 2003 +0000
+++ b/mail/mutt/Makefile        Thu Dec 11 07:15:18 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2003/11/12 03:39:40 jschauma Exp $
+# $NetBSD: Makefile,v 1.106 2003/12/11 07:15:18 tron Exp $
 
 DISTNAME=              mutt-1.4.1i
 PKGNAME=                ${DISTNAME:C/i$//}
@@ -26,6 +26,7 @@
                        --enable-pop --enable-imap
 
 LDFLAGS+=              ${_STRIPFLAG_CC}
+PLIST_SRC=             ${WRKDIR}/PLIST
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -72,9 +73,10 @@
               < ${WRKSRC}/doc/mutt.man.in > ${WRKSRC}/doc/mutt.man
 
 post-install:
-       ${LN} -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples
+       ${LN} -fs ${EGDIR} ${PREFIX}/share/doc/mutt/samples
+       ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
        @if [ -f ${PREFIX}/bin/mutt_dotlock ]; then \
-               ${ECHO} "bin/mutt_dotlock" >> ${PLIST}; \
+               ${ECHO} "bin/mutt_dotlock" >> ${PLIST_SRC}; \
        fi
 
 .include "../../converters/libiconv/buildlink2.mk"



Home | Main Index | Thread Index | Old Index