summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-12-12 10:45:18 +0000
committergrant <grant@pkgsrc.org>2003-12-12 10:45:18 +0000
commit429159f08d63bdd4de6e123c0999f69c170552d2 (patch)
treeeedaf35efd0bc9f723dde559633f067cae27f317
parentaff9b608e5718e52f9a0a3a328063b0dc0749af1 (diff)
downloadpkgsrc-429159f08d63bdd4de6e123c0999f69c170552d2.tar.gz
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.
-rw-r--r--mail/mutt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 524710102c2..90f72d77034 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -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 @@ pre-build:
< ${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 \