summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-11 13:57:32 +0000
committerjlam <jlam@pkgsrc.org>2006-04-11 13:57:32 +0000
commita75770808875890c6bb7440ea2eeed14f998c1fa (patch)
treefadef1152d70d0b88914b3293df5fadec4eb587b /mail/mutt-devel/Makefile
parent8448d4a61de87ab06a74d800cec01793dd6d79a3 (diff)
downloadpkgsrc-a75770808875890c6bb7440ea2eeed14f998c1fa.tar.gz
We currently set WRKDIR in bsd.prefs.mk but not WRKSRC, so define
WRKSRC explicitly to it's default value before it is used in the exists() check just below it. This fixes the PLIST in the case where mutt_dotlock is installed. Bump the PKGREVISION to 4.
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index c07696ef04b..ee039a3d0ff 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2006/03/14 01:14:30 jlam Exp $
+# $NetBSD: Makefile,v 1.46 2006/04/11 13:57:32 jlam Exp $
DISTNAME= mutt-1.5.11
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
@@ -23,7 +23,7 @@ USE_TOOLS+= perl:run
REPLACE_PERL= *.pl */*.pl
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
--with-docdir=${PREFIX}/share/doc/mutt \
--without-included-gettext \
--enable-pop \
@@ -52,6 +52,8 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
FILES_SUBST+= DOCDIR=${DOCDIR:Q}
+# Define WRKSRC explicitly so we can use its value below.
+WRKSRC= ${WRKDIR}/${DISTNAME}
.if exists(${WRKSRC}/mutt_dotlock)
PLIST_SUBST+= MUTT_DOTLOCK=
.else