Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2018 17:17:55 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484625 - head/mail/notmuch-mutt
Message-ID:  <201811101717.wAAHHtGZ042648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Nov 10 17:17:55 2018
New Revision: 484625
URL: https://svnweb.freebsd.org/changeset/ports/484625

Log:
  mail/notmuch-mutt: Unbreak build when PREFIX != LOCALBASE
  
  ===>   Generating temporary packing list
  [...]
  mkdir -p /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/etc/Muttrc.d
  install -m 644 notmuch-mutt.rc /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/etc/Muttrc.d/notmuch-mutt.rc
  mv: rename /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/usr/local/etc/Muttrc.d/notmuch-mutt.rc to /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/share/examples/notmuch/notmuch-mutt.rc: No such file or directory
  
  PR:		232310

Modified:
  head/mail/notmuch-mutt/Makefile

Modified: head/mail/notmuch-mutt/Makefile
==============================================================================
--- head/mail/notmuch-mutt/Makefile	Sat Nov 10 16:56:08 2018	(r484624)
+++ head/mail/notmuch-mutt/Makefile	Sat Nov 10 17:17:55 2018	(r484625)
@@ -25,11 +25,11 @@ OPTIONS_SUB=	yes
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@${MV} ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc
-	@${RMDIR} ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d
+	@${MV} ${STAGEDIR}${PREFIX}/etc/Muttrc.d/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc
+	@${RMDIR} ${STAGEDIR}${PREFIX}/etc/Muttrc.d
 
 post-install-EXAMPLES-off:
-	@${RM} -r ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d
+	@${RM} -r ${STAGEDIR}${PREFIX}/etc/Muttrc.d
 
 post-install-MANPAGES-off:
 	@${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-mutt.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811101717.wAAHHtGZ042648>