Wed Jun 21 07:10:56 2017 UTC ()
Clean up options -- remove ones that are now default-on and not supported
as options any longer.
Remove references to removed mutt_dotlock.


(wiz)
diff -r1.28 -r1.29 pkgsrc/mail/neomutt/Makefile
diff -r1.6 -r1.7 pkgsrc/mail/neomutt/options.mk

cvs diff -r1.28 -r1.29 pkgsrc/mail/neomutt/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/neomutt/Makefile 2017/06/14 16:07:12 1.28
+++ pkgsrc/mail/neomutt/Makefile 2017/06/21 07:10:56 1.29
@@ -1,35 +1,31 @@ @@ -1,35 +1,31 @@
1# $NetBSD: Makefile,v 1.28 2017/06/14 16:07:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.29 2017/06/21 07:10:56 wiz Exp $
2 2
3DISTNAME= neomutt-20170609 3DISTNAME= neomutt-20170609
4CATEGORIES= mail 4CATEGORIES= mail
5MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/}
6GITHUB_TAG= ${DISTNAME} 6GITHUB_TAG= ${DISTNAME}
7 7
8MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
9HOMEPAGE= http://www.neomutt.org/ 9HOMEPAGE= http://www.neomutt.org/
10COMMENT= Fork of mutt with integrated community patches 10COMMENT= Fork of mutt with integrated community patches
11LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer 11LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer
12 12
13USE_TOOLS+= autoconf automake autoreconf msgfmt gmake 13USE_TOOLS+= autoconf automake autoreconf msgfmt gmake
14 14
15BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools 15BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
16 16
17SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551 
18GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
19CONFIGURE_ARGS+= --enable-external-dotlock 
20CONFIGURE_ARGS+= --enable-imap 
21CONFIGURE_ARGS+= --enable-notmuch 18CONFIGURE_ARGS+= --enable-notmuch
22CONFIGURE_ARGS+= --enable-pop 
23#CONFIGURE_ARGS+= CFLAGS="-g -O0" 19#CONFIGURE_ARGS+= CFLAGS="-g -O0"
24 20
25EGDIR= ${PREFIX}/share/examples/mutt 21EGDIR= ${PREFIX}/share/examples/mutt
26CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc 22CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
27CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types 23CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
28INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} 24INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
29INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} 25INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR}
30 26
31.include "../../mk/bsd.prefs.mk" 27.include "../../mk/bsd.prefs.mk"
32 28
33.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" 29.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
34# Force sendmail to /usr/sbin to avoid postfix's 30# Force sendmail to /usr/sbin to avoid postfix's
35# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which 31# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which

cvs diff -r1.6 -r1.7 pkgsrc/mail/neomutt/options.mk (expand / switch to unified diff)

--- pkgsrc/mail/neomutt/options.mk 2017/03/12 20:58:20 1.6
+++ pkgsrc/mail/neomutt/options.mk 2017/06/21 07:10:56 1.7
@@ -1,30 +1,23 @@ @@ -1,30 +1,23 @@
1# $NetBSD: options.mk,v 1.6 2017/03/12 20:58:20 wiz Exp $ 1# $NetBSD: options.mk,v 1.7 2017/06/21 07:10:56 wiz Exp $
2 
3# Global and legacy options 
4 2
5PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt 3PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt
6PKG_OPTIONS_REQUIRED_GROUPS= display 4PKG_OPTIONS_REQUIRED_GROUPS= display
7PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses 5PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses
8PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl 6PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl
9PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp 7PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet
10PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox 8PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache sasl smime ssl
11PKG_SUPPORTED_OPTIONS+= mutt-sidebar 
12PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache mutt-smtp sasl smime ssl 
13PKG_SUGGESTED_OPTIONS+= gssapi 9PKG_SUGGESTED_OPTIONS+= gssapi
14PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox 10PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet
15PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp 
16PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox 
17PKG_SUGGESTED_OPTIONS+= mutt-sidebar 
18 11
19.include "../../mk/bsd.options.mk" 12.include "../../mk/bsd.options.mk"
20 13
21### 14###
22### GSSAPI 15### GSSAPI
23### 16###
24 17
25.if !empty(PKG_OPTIONS:Mgssapi) 18.if !empty(PKG_OPTIONS:Mgssapi)
26. include "../../mk/krb5.buildlink3.mk" 19. include "../../mk/krb5.buildlink3.mk"
27CONFIGURE_ARGS+= --with-gss=${KRB5BASE} 20CONFIGURE_ARGS+= --with-gss=${KRB5BASE}
28.endif 21.endif
29 22
30### 23###
@@ -115,45 +108,28 @@ BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE} @@ -115,45 +108,28 @@ BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
115. include "../../mk/bdb.buildlink3.mk" 108. include "../../mk/bdb.buildlink3.mk"
116CONFIGURE_ARGS+= --with-bdb 109CONFIGURE_ARGS+= --with-bdb
117CONFIGURE_ARGS+= --without-gdbm 110CONFIGURE_ARGS+= --without-gdbm
118# BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate 111# BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate
119# since the real -I and -L flags are added by buildlink already. 112# since the real -I and -L flags are added by buildlink already.
120CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include 113CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include
121CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib 114CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib
122CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//:M*:Q} 115CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//:M*:Q}
123. endif 116. endif
124.else 117.else
125CONFIGURE_ARGS+= --disable-hcache 118CONFIGURE_ARGS+= --disable-hcache
126.endif 119.endif
127 120
128### 121#BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
129### Compressed mail boxes 122#BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
130### 
131PLIST_VARS+= compressed_mbox 
132.if !empty(PKG_OPTIONS:Mmutt-compressed-mbox) 
133CONFIGURE_ARGS+= --enable-compressed 
134# add xsltproc to be able to regenerate the documentation 
135BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt 
136BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl 
137.endif 
138 
139### 
140### Internal SMTP relay support 
141### 
142.if !empty(PKG_OPTIONS:Mmutt-smtp) 
143CONFIGURE_ARGS+= --enable-smtp 
144.else 
145CONFIGURE_ARGS+= --disable-smtp 
146.endif 
147 123
148### 124###
149### Internationalized Domain Names 125### Internationalized Domain Names
150### 126###
151.if !empty(PKG_OPTIONS:Midn) 127.if !empty(PKG_OPTIONS:Midn)
152. include "../../devel/libidn/buildlink3.mk" 128. include "../../devel/libidn/buildlink3.mk"
153CONFIGURE_ARGS+= --with-idn=${BUILDLINK_PREFIX.libidn} 129CONFIGURE_ARGS+= --with-idn=${BUILDLINK_PREFIX.libidn}
154.else 130.else
155CONFIGURE_ARGS+= --with-idn=no 131CONFIGURE_ARGS+= --with-idn=no
156.endif 132.endif
157 133
158### 134###
159### Enable debugging support 135### Enable debugging support
@@ -163,22 +139,13 @@ CONFIGURE_ARGS+= --enable-debug @@ -163,22 +139,13 @@ CONFIGURE_ARGS+= --enable-debug
163CFLAGS+= -g 139CFLAGS+= -g
164.endif 140.endif
165 141
166### 142###
167### gpgme support 143### gpgme support
168### 144###
169.if !empty(PKG_OPTIONS:Mgpgme) 145.if !empty(PKG_OPTIONS:Mgpgme)
170. include "../../security/gpgme/buildlink3.mk" 146. include "../../security/gpgme/buildlink3.mk"
171CONFIGURE_ARGS+= --enable-gpgme 147CONFIGURE_ARGS+= --enable-gpgme
172CONFIGURE_ARGS+= --with-gpgme-prefix=${BUILDLINK_PREFIX.gpgme} 148CONFIGURE_ARGS+= --with-gpgme-prefix=${BUILDLINK_PREFIX.gpgme}
173.else 149.else
174CONFIGURE_ARGS+= --disable-gpgme 150CONFIGURE_ARGS+= --disable-gpgme
175.endif 151.endif
176 
177### 
178### sidebar support 
179### 
180.if !empty(PKG_OPTIONS:Mmutt-sidebar) 
181CONFIGURE_ARGS+= --enable-sidebar 
182.else 
183CONFIGURE_ARGS+= --disable-sidebar 
184.endif