summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
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
commitc7a3e34157ede97c95eae59299e853d3af8921fe (patch)
treeeedaf35efd0bc9f723dde559633f067cae27f317 /mail/mutt/Makefile
parentf62e7f42e083bfc796b7141ca0ec0617ad0f5f23 (diff)
downloadpkgsrc-c7a3e34157ede97c95eae59299e853d3af8921fe.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.
Diffstat (limited to 'mail/mutt/Makefile')
-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 \