summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2003-12-12 11:41:45 +0000
committeragc <agc>2003-12-12 11:41:45 +0000
commitf23e8a9b91e5f83592f53c8c0c9ee7bf49db898e (patch)
tree22e7ab35fd77d8581572d32afd9d738ae2965019
parentdd91fdd6eeedc24f1e7827df71c77a03af52c0a1 (diff)
downloadpkgsrc-f23e8a9b91e5f83592f53c8c0c9ee7bf49db898e.tar.gz
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.
-rw-r--r--mail/mutt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 6c144cc45ed..48d04335ed7 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -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 @@ pre-build:
< ${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}; \