summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
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
commit5267a21360f02446421d88d0efcab5a35f7bf825 (patch)
treee4fb9a8e94628dcdd569efc399fe2f2859df4796 /mail/mutt-devel
parent507c27fb9446656eb75c171496b23e3db8d336b6 (diff)
downloadpkgsrc-5267a21360f02446421d88d0efcab5a35f7bf825.tar.gz
Add support for building with gpgme. Bump rev.
Diffstat (limited to 'mail/mutt-devel')
-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