Mon Sep 4 11:42:38 2023 UTC ()
thunderbird: apparently configure.py eventually requires py-curses
OK pho@


(prlw1)
diff -r1.8 -r1.9 pkgsrc/mail/thunderbird/mozilla-common.mk

cvs diff -r1.8 -r1.9 pkgsrc/mail/thunderbird/mozilla-common.mk (expand / switch to unified diff)

--- pkgsrc/mail/thunderbird/mozilla-common.mk 2023/08/25 10:15:01 1.8
+++ pkgsrc/mail/thunderbird/mozilla-common.mk 2023/09/04 11:42:38 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: mozilla-common.mk,v 1.8 2023/08/25 10:15:01 pho Exp $ 1# $NetBSD: mozilla-common.mk,v 1.9 2023/09/04 11:42:38 prlw1 Exp $
2# 2#
3# common Makefile fragment for mozilla packages based on gecko 2.0. 3# common Makefile fragment for mozilla packages based on gecko 2.0.
4# 4#
5# used by mail/thunderbird/Makefile 5# used by mail/thunderbird/Makefile
6 6
7.include "../../mk/bsd.prefs.mk" 7.include "../../mk/bsd.prefs.mk"
8 8
9PYTHON_VERSIONS_INCOMPATIBLE= 27 9PYTHON_VERSIONS_INCOMPATIBLE= 27
10 10
11PYTHON_FOR_BUILD_ONLY= tool 11PYTHON_FOR_BUILD_ONLY= tool
12ALL_ENV+= PYTHON3=${PYTHONBIN} 12ALL_ENV+= PYTHON3=${PYTHONBIN}
13 13
14HAS_CONFIGURE= yes 14HAS_CONFIGURE= yes
@@ -19,26 +19,27 @@ UNLIMIT_RESOURCES+= datasize virtualsize @@ -19,26 +19,27 @@ UNLIMIT_RESOURCES+= datasize virtualsize
19USE_LANGUAGES+= c c++ 19USE_LANGUAGES+= c c++
20 20
21# ERROR: Only GCC 8.1 or newer is supported (found version 7.5.0). 21# ERROR: Only GCC 8.1 or newer is supported (found version 7.5.0).
22GCC_REQD+= 8 22GCC_REQD+= 8
23 23
24TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen 24TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen
25.if ${MACHINE_ARCH} == "sparc64" 25.if ${MACHINE_ARCH} == "sparc64"
26CONFIGURE_ARGS+= --disable-nodejs 26CONFIGURE_ARGS+= --disable-nodejs
27.else 27.else
28TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs 28TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs
29.endif 29.endif
30 30
31TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 31TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 32TOOL_DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
32TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 33TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
33 34
34# malloc_usable_size() 35# malloc_usable_size()
35LDFLAGS.NetBSD+= -ljemalloc 36LDFLAGS.NetBSD+= -ljemalloc
36 37
37.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 38.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
38TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm 39TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm
39TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm 40TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm
40.endif 41.endif
41 42
42# This is to work around build failures where an upstream configuration script 43# This is to work around build failures where an upstream configuration script
43# is confused by having more than one approximate match to MACHINE_GNU_PLATFORM 44# is confused by having more than one approximate match to MACHINE_GNU_PLATFORM
44# "i486" when attempting to select the Rust compiler target. 45# "i486" when attempting to select the Rust compiler target.