summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiz <wiz>2014-09-01 09:29:54 +0000
committerwiz <wiz>2014-09-01 09:29:54 +0000
commit4ed2338338c506335e7fb04460a525db4faf066f (patch)
tree9f87eb6ece9d9accdefee582eefec1e193413806 /mail
parent10a00a589e7c56dfca6ad087b4dcda836cd3e339 (diff)
downloadpkgsrc-4ed2338338c506335e7fb04460a525db4faf066f.tar.gz
Touch VERSION to avoid triggering rebuilds of it using version.sh,
caused by unidentified bmake dependencies not happening with gmake, on case insensitive file systems. Reported and fix suggested by J. Lewis Muir.
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-kz/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mutt-kz/Makefile b/mail/mutt-kz/Makefile
index 1759893fa83..73016278ffb 100644
--- a/mail/mutt-kz/Makefile
+++ b/mail/mutt-kz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/03/19 16:17:38 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/09/01 09:29:54 wiz Exp $
DISTNAME= mutt-kz-1.5.22.1-rc1
PKGNAME= ${DISTNAME:S/-rc/rc/}
@@ -13,6 +13,12 @@ LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer
CONFIGURE_ARGS+= --enable-notmuch
+# On case-insensitive file systems like on OS X, version.sh is used
+# to re-create VERSION, and fails. Make sure VERSION is newer than
+# version.sh to avoid this.
+pre-build:
+ ${TOUCH} ${WRKSRC}/VERSION
+
.include "../../mail/mutt-devel/Makefile.common"
DEINSTALL_SRC= ${.CURDIR}/../../mail/mutt-devel/DEINSTALL