summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2007-11-08 21:56:00 +0000
committerbjs <bjs@pkgsrc.org>2007-11-08 21:56:00 +0000
commitd79e0c114c8a4b632e4a247164df2429ff1c4da6 (patch)
treee4fb9a8e94628dcdd569efc399fe2f2859df4796
parentda490a203deab6e6782f719b7b1e32e11f176630 (diff)
downloadpkgsrc-d79e0c114c8a4b632e4a247164df2429ff1c4da6.tar.gz
Add support for building with gpgme. Bump rev.
-rw-r--r--mail/mutt-devel/Makefile3
-rw-r--r--mail/mutt-devel/options.mk15
2 files changed, 15 insertions, 3 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index d3e805c8be5..098ad266a8f 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2007/11/07 21:19:36 tonio Exp $
+# $NetBSD: Makefile,v 1.62 2007/11/08 21:56:00 bjs Exp $
DISTNAME= mutt-1.5.17
+PKGREVISION= 1
CATEGORIES= mail
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
diff --git a/mail/mutt-devel/options.mk b/mail/mutt-devel/options.mk
index 5d82a8e009b..60a19a1b1b3 100644
--- a/mail/mutt-devel/options.mk
+++ b/mail/mutt-devel/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.26 2007/07/17 21:06:51 joerg Exp $
+# $NetBSD: options.mk,v 1.27 2007/11/08 21:56:00 bjs Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.mutt
PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses
-PKG_SUPPORTED_OPTIONS= debug idn ssl smime sasl
+PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox mutt-hcache mutt-smtp
PKG_SUGGESTED_OPTIONS= ssl smime curses
@@ -134,3 +134,14 @@ CONFIGURE_ARGS+= --disable-idn
CONFIGURE_ARGS+= --enable-debug
CFLAGS+= -g
.endif
+
+###
+### gpgme support
+###
+.if !empty(PKG_OPTIONS:Mgpgme)
+. include "../../security/gpgme/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gpgme
+CONFIGURE_ARGS+= --with-gpgme-prefix=${BUILDLINK_PREFIX.gpgme}
+.else
+CONFIGURE_ARGS+= --disable-gpgme
+.endif