Thu Apr 18 06:54:20 2024 UTC (49d)
neomutt: needs gcc8+ for "error: initializer element is not constant"


(wiz)
diff -r1.93 -r1.94 pkgsrc/mail/neomutt/Makefile

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

--- pkgsrc/mail/neomutt/Makefile 2024/04/16 22:08:23 1.93
+++ pkgsrc/mail/neomutt/Makefile 2024/04/18 06:54:20 1.94
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.93 2024/04/16 22:08:23 wiz Exp $ 1# $NetBSD: Makefile,v 1.94 2024/04/18 06:54:20 wiz Exp $
2 2
3DISTNAME= neomutt-20240416 3DISTNAME= neomutt-20240416
4CATEGORIES= mail 4CATEGORIES= mail
5MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/}
6GITHUB_TAG= ${PKGVERSION_NOREV} 6GITHUB_TAG= ${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.neomutt.org/ 9HOMEPAGE= https://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
13TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools 13TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
14TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt 14TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
@@ -20,26 +20,28 @@ USE_TOOLS+= msgfmt gmake perl:build pkg @@ -20,26 +20,28 @@ USE_TOOLS+= msgfmt gmake perl:build pkg
20 20
21HAS_CONFIGURE= yes 21HAS_CONFIGURE= yes
22EXTRACT_USING= bsdtar 22EXTRACT_USING= bsdtar
23CONFIGURE_ARGS+= --prefix=${PREFIX} 23CONFIGURE_ARGS+= --prefix=${PREFIX}
24CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} 24CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
25 25
26CONFIGURE_ARGS.SunOS+= --disable-inotify 26CONFIGURE_ARGS.SunOS+= --disable-inotify
27 27
28EGDIR= ${PREFIX}/share/examples/neomutt 28EGDIR= ${PREFIX}/share/examples/neomutt
29CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc 29CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc
30INSTALLATION_DIRS+= ${EGDIR} 30INSTALLATION_DIRS+= ${EGDIR}
31INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} 31INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR}
32 32
 33GCC_REQD+= 8
 34
33.include "../../mk/bsd.prefs.mk" 35.include "../../mk/bsd.prefs.mk"
34 36
35.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" 37.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
36# Force sendmail to /usr/sbin to avoid postfix's 38# Force sendmail to /usr/sbin to avoid postfix's
37# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which 39# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which
38# support mailwrapper. 40# support mailwrapper.
39CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail 41CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail
40.endif 42.endif
41 43
42SUBST_CLASSES+= interpreter 44SUBST_CLASSES+= interpreter
43SUBST_STAGE.interpreter= pre-configure 45SUBST_STAGE.interpreter= pre-configure
44SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines 46SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines
45SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py 47SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py