pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mutt-devel Add support for building with gpgme. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eaeb7b15574
branches:  trunk
changeset: 535175:5eaeb7b15574
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Thu Nov 08 21:56:00 2007 +0000

description:
Add support for building with gpgme.  Bump rev.

diffstat:

 mail/mutt-devel/Makefile   |   3 ++-
 mail/mutt-devel/options.mk |  15 +++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 02f21c4af26f -r 5eaeb7b15574 mail/mutt-devel/Makefile
--- a/mail/mutt-devel/Makefile  Thu Nov 08 21:36:03 2007 +0000
+++ b/mail/mutt-devel/Makefile  Thu Nov 08 21:56:00 2007 +0000
@@ -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 -r 02f21c4af26f -r 5eaeb7b15574 mail/mutt-devel/options.mk
--- a/mail/mutt-devel/options.mk        Thu Nov 08 21:36:03 2007 +0000
+++ b/mail/mutt-devel/options.mk        Thu Nov 08 21:56:00 2007 +0000
@@ -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+=       --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



Home | Main Index | Thread Index | Old Index