Add support for building with gpgme. Bump rev.

This commit is contained in:
bjs 2007-11-08 21:56:00 +00:00
parent 507c27fb94
commit 5267a21360
2 changed files with 15 additions and 3 deletions

View file

@ -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/ \

View file

@ -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