pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mutt-devel We currently set WRKDIR in bsd.prefs.m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a0069ce0bd3
branches:  trunk
changeset: 511198:2a0069ce0bd3
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Apr 11 13:57:32 2006 +0000

description:
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:

 mail/mutt-devel/Makefile |  8 +++++---
 mail/mutt-devel/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 6b9d5941a0b4 -r 2a0069ce0bd3 mail/mutt-devel/Makefile
--- a/mail/mutt-devel/Makefile  Tue Apr 11 13:26:01 2006 +0000
+++ b/mail/mutt-devel/Makefile  Tue Apr 11 13:57:32 2006 +0000
@@ -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 @@
 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}/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
diff -r 6b9d5941a0b4 -r 2a0069ce0bd3 mail/mutt-devel/PLIST
--- a/mail/mutt-devel/PLIST     Tue Apr 11 13:26:01 2006 +0000
+++ b/mail/mutt-devel/PLIST     Tue Apr 11 13:57:32 2006 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2005/10/03 14:16:53 tonio Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/04/11 13:57:32 jlam Exp $
 bin/flea
-bin/mutt
+${MUTT}bin/mutt
 bin/muttbug
 ${MUTT_DOTLOCK}bin/mutt_dotlock
 bin/pgpewrap



Home | Main Index | Thread Index | Old Index