| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.27 2023/03/21 20:08:40 abs Exp $ | | 1 | # $NetBSD: Makefile,v 1.28 2023/03/22 19:10:30 abs Exp $ |
2 | | | 2 | |
3 | DISTNAME= thunderbird-${TB_VER}.source | | 3 | DISTNAME= thunderbird-${TB_VER}.source |
4 | PKGNAME= thunderbird${TB_VER:C/\..*$//}-${TB_VER} | | 4 | PKGNAME= thunderbird${TB_VER:C/\..*$//}-${TB_VER} |
5 | PKGREVISION= 24 | | 5 | PKGREVISION= 25 |
6 | TB_VER= 52.9.1 | | 6 | TB_VER= 52.9.1 |
7 | CATEGORIES= mail | | 7 | CATEGORIES= mail |
8 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/} | | 8 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/} |
9 | EXTRACT_SUFX= .tar.xz | | 9 | EXTRACT_SUFX= .tar.xz |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= https://www.thunderbird.net/en-US/ | | 12 | HOMEPAGE= https://www.thunderbird.net/en-US/ |
13 | COMMENT= Organize, secure and customize your mail | | 13 | COMMENT= Organize, secure and customize your mail |
14 | LICENSE= mpl-1.1 | | 14 | LICENSE= mpl-1.1 |
15 | | | 15 | |
16 | USE_TOOLS+= unzip pax | | 16 | USE_TOOLS+= unzip pax |
17 | WRKSRC= ${WRKDIR}/${DISTNAME:S/.source//} | | 17 | WRKSRC= ${WRKDIR}/${DISTNAME:S/.source//} |
18 | MOZILLA_DIR= mozilla/ | | 18 | MOZILLA_DIR= mozilla/ |
| @@ -24,33 +24,33 @@ CONFIG_SUB_OVERRIDE+= ldap/sdks/c-sdk/co | | | @@ -24,33 +24,33 @@ CONFIG_SUB_OVERRIDE+= ldap/sdks/c-sdk/co |
24 | CONFIGURE_ARGS+= --enable-application=mail | | 24 | CONFIGURE_ARGS+= --enable-application=mail |
25 | # Disable WebRTC support for Thunderbird unconditionally. | | 25 | # Disable WebRTC support for Thunderbird unconditionally. |
26 | CONFIGURE_ARGS+= --disable-webrtc | | 26 | CONFIGURE_ARGS+= --disable-webrtc |
27 | CONFIGURE_ARGS+= --disable-dbus | | 27 | CONFIGURE_ARGS+= --disable-dbus |
28 | CONFIGURE_ARGS+= --disable-gnomeui | | 28 | CONFIGURE_ARGS+= --disable-gnomeui |
29 | | | 29 | |
30 | NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird | | 30 | NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird |
31 | NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird-bin | | 31 | NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird-bin |
32 | | | 32 | |
33 | ALL_ENV+= MOZILLA_PKG_NAME=${PKGBASE} | | 33 | ALL_ENV+= MOZILLA_PKG_NAME=${PKGBASE} |
34 | | | 34 | |
35 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${PKGBASE} | | 35 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${PKGBASE} |
36 | | | 36 | |
37 | .include "../../mk/bsd.prefs.mk" | | 37 | .if ${MACHINE_ARCH} == "sparc64" |
38 | | | | |
39 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) | | | |
40 | # Without this NetBSD/sparc64 gets "Bus error (core dumped)" | | 38 | # Without this NetBSD/sparc64 gets "Bus error (core dumped)" |
41 | SSP_SUPPORTED=no | | 39 | SSP_SUPPORTED=no |
42 | .endif | | 40 | .endif |
43 | | | 41 | |
| | | 42 | .include "../../mk/bsd.prefs.mk" |
| | | 43 | |
44 | #SUBST_CLASSES+= ext-compat | | 44 | #SUBST_CLASSES+= ext-compat |
45 | #SUBST_STAGE.ext-compat= pre-configure | | 45 | #SUBST_STAGE.ext-compat= pre-configure |
46 | #SUBST_MESSAGE.ext-compat= Fixing extension compatibility | | 46 | #SUBST_MESSAGE.ext-compat= Fixing extension compatibility |
47 | #SUBST_FILES.ext-compat= mailnews/extensions/enigmail/package/install.rdf | | 47 | #SUBST_FILES.ext-compat= mailnews/extensions/enigmail/package/install.rdf |
48 | #SUBST_FILES.ext-compat+= calendar/*/install.rdf | | 48 | #SUBST_FILES.ext-compat+= calendar/*/install.rdf |
49 | #SUBST_FILES.ext-compat+= calendar/*/*/install.rdf | | 49 | #SUBST_FILES.ext-compat+= calendar/*/*/install.rdf |
50 | #SUBST_SED.ext-compat= -e 's,\(<em:maxVersion>\).*<,\19.0<,g' | | 50 | #SUBST_SED.ext-compat= -e 's,\(<em:maxVersion>\).*<,\19.0<,g' |
51 | | | 51 | |
52 | SUBST_CLASSES+= sys-dic | | 52 | SUBST_CLASSES+= sys-dic |
53 | SUBST_STAGE.sys-dic= pre-configure | | 53 | SUBST_STAGE.sys-dic= pre-configure |
54 | SUBST_MESSAGE.sys-dic= Reference to system hunspell dictionaries. | | 54 | SUBST_MESSAGE.sys-dic= Reference to system hunspell dictionaries. |
55 | SUBST_FILES.sys-dic= mozilla/extensions/spellcheck/hunspell/glue/mozHunspell.cpp | | 55 | SUBST_FILES.sys-dic= mozilla/extensions/spellcheck/hunspell/glue/mozHunspell.cpp |
56 | SUBST_VARS.sys-dic= LOCALBASE | | 56 | SUBST_VARS.sys-dic= LOCALBASE |