mozilla: Support config-override.diff -r1.15 -r1.16 pkgsrc/mail/thunderbird/mozilla-common.mk
(jperkin)
@@ -1,31 +1,34 @@ | @@ -1,31 +1,34 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.15 2024/05/10 08:23:15 jperkin Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.16 2024/05/10 08:29:37 jperkin 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 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | |
10 | 10 | |||
11 | PYTHON_FOR_BUILD_ONLY= tool | 11 | PYTHON_FOR_BUILD_ONLY= tool | |
12 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 12 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
13 | 13 | |||
14 | HAS_CONFIGURE= yes | 14 | HAS_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 15 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
16 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | 16 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | |
17 | UNLIMIT_RESOURCES+= datasize virtualsize | 17 | UNLIMIT_RESOURCES+= datasize virtualsize | |
18 | 18 | |||
19 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | |||
20 | OVERRIDE_DIRDEPTH= 4 | |||
21 | ||||
19 | USE_LANGUAGES+= c c++ | 22 | USE_LANGUAGES+= c c++ | |
20 | 23 | |||
21 | # ERROR: Only GCC 8.1 or newer is supported (found version 7.5.0). | 24 | # ERROR: Only GCC 8.1 or newer is supported (found version 7.5.0). | |
22 | GCC_REQD+= 8 | 25 | GCC_REQD+= 8 | |
23 | 26 | |||
24 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | 27 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | |
25 | .if ${MACHINE_ARCH} == "sparc64" | 28 | .if ${MACHINE_ARCH} == "sparc64" | |
26 | CONFIGURE_ARGS+= --disable-nodejs | 29 | CONFIGURE_ARGS+= --disable-nodejs | |
27 | .else | 30 | .else | |
28 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | 31 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | |
29 | .endif | 32 | .endif | |
30 | 33 | |||
31 | # malloc_usable_size() | 34 | # malloc_usable_size() |
@@ -1,31 +1,34 @@ | @@ -1,31 +1,34 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.4 2024/05/10 08:23:15 jperkin Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.5 2024/05/10 08:29:37 jperkin 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 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | |
10 | 10 | |||
11 | PYTHON_FOR_BUILD_ONLY= tool | 11 | PYTHON_FOR_BUILD_ONLY= tool | |
12 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 12 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
13 | 13 | |||
14 | HAS_CONFIGURE= yes | 14 | HAS_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 15 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
16 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | 16 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | |
17 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | 17 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | |
18 | 18 | |||
19 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | |||
20 | OVERRIDE_DIRDEPTH= 4 | |||
21 | ||||
19 | USE_LANGUAGES+= c c++ | 22 | USE_LANGUAGES+= c c++ | |
20 | 23 | |||
21 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). | 24 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). | |
22 | GCC_REQD+= 7 | 25 | GCC_REQD+= 7 | |
23 | 26 | |||
24 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | 27 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | |
25 | .if ${MACHINE_ARCH} == "sparc64" | 28 | .if ${MACHINE_ARCH} == "sparc64" | |
26 | CONFIGURE_ARGS+= --disable-nodejs | 29 | CONFIGURE_ARGS+= --disable-nodejs | |
27 | .else | 30 | .else | |
28 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | 31 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | |
29 | .endif | 32 | .endif | |
30 | 33 | |||
31 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | 34 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
@@ -1,32 +1,35 @@ | @@ -1,32 +1,35 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.281 2024/05/10 08:23:15 jperkin Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.282 2024/05/10 08:29:37 jperkin 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 www/firefox/Makefile | 5 | # used by www/firefox/Makefile | |
6 | 6 | |||
7 | .include "../../mk/bsd.prefs.mk" | 7 | .include "../../mk/bsd.prefs.mk" | |
8 | 8 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
10 | PYTHON_FOR_BUILD_ONLY= tool | 10 | PYTHON_FOR_BUILD_ONLY= tool | |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
12 | 12 | |||
13 | REPLACE_PYTHON= build/cargo-linker | 13 | REPLACE_PYTHON= build/cargo-linker | |
14 | 14 | |||
15 | HAS_CONFIGURE= yes | 15 | HAS_CONFIGURE= yes | |
16 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 16 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
17 | USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213 | 17 | USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213 | |
18 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | 18 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | |
19 | 19 | |||
20 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | |||
21 | OVERRIDE_DIRDEPTH= 4 | |||
22 | ||||
20 | USE_LANGUAGES+= c c++ | 23 | USE_LANGUAGES+= c c++ | |
21 | 24 | |||
22 | # XXX: As of 114.0.2 | 25 | # XXX: As of 114.0.2 | |
23 | # For nested constant initializer support in rlbox, requires 8. | 26 | # For nested constant initializer support in rlbox, requires 8. | |
24 | GCC_REQD+= 8 | 27 | GCC_REQD+= 8 | |
25 | 28 | |||
26 | TOOL_DEPENDS+= cbindgen>=0.26.0:../../devel/cbindgen | 29 | TOOL_DEPENDS+= cbindgen>=0.26.0:../../devel/cbindgen | |
27 | 30 | |||
28 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | 31 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | |
29 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | 32 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | |
30 | USE_TOOLS+= diff | 33 | USE_TOOLS+= diff | |
31 | .else | 34 | .else | |
32 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" | 35 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" |
@@ -1,30 +1,33 @@ | @@ -1,30 +1,33 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.8 2024/05/10 08:23:15 jperkin Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.9 2024/05/10 08:29:38 jperkin 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 www/firefox/Makefile | 5 | # used by www/firefox/Makefile | |
6 | 6 | |||
7 | .include "../../mk/bsd.prefs.mk" | 7 | .include "../../mk/bsd.prefs.mk" | |
8 | 8 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | |
10 | PYTHON_FOR_BUILD_ONLY= tool | 10 | PYTHON_FOR_BUILD_ONLY= tool | |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
12 | 12 | |||
13 | HAS_CONFIGURE= yes | 13 | HAS_CONFIGURE= yes | |
14 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 14 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
15 | USE_TOOLS+= pkg-config perl gmake autoconf213 gm4 unzip zip | 15 | USE_TOOLS+= pkg-config perl gmake autoconf213 gm4 unzip zip | |
16 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | 16 | UNLIMIT_RESOURCES+= datasize stacksize virtualsize | |
17 | 17 | |||
18 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | |||
19 | OVERRIDE_DIRDEPTH= 4 | |||
20 | ||||
18 | USE_LANGUAGES+= c c++ | 21 | USE_LANGUAGES+= c c++ | |
19 | 22 | |||
20 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). | 23 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). | |
21 | GCC_REQD+= 7 | 24 | GCC_REQD+= 7 | |
22 | 25 | |||
23 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | 26 | TOOL_DEPENDS+= cbindgen>=0.24.0:../../devel/cbindgen | |
24 | 27 | |||
25 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | 28 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | |
26 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | 29 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | |
27 | USE_TOOLS+= diff | 30 | USE_TOOLS+= diff | |
28 | .else | 31 | .else | |
29 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" | 32 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" | |
30 | .endif | 33 | .endif |
@@ -1,32 +1,35 @@ | @@ -1,32 +1,35 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.8 2024/05/10 08:23:15 jperkin Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.9 2024/05/10 08:29:38 jperkin 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 www/firefox/Makefile | 5 | # used by www/firefox/Makefile | |
6 | 6 | |||
7 | .include "../../mk/bsd.prefs.mk" | 7 | .include "../../mk/bsd.prefs.mk" | |
8 | 8 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | |
10 | PYTHON_FOR_BUILD_ONLY= tool | 10 | PYTHON_FOR_BUILD_ONLY= tool | |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
12 | 12 | |||
13 | REPLACE_PYTHON= build/cargo-linker | 13 | REPLACE_PYTHON= build/cargo-linker | |
14 | 14 | |||
15 | HAS_CONFIGURE= yes | 15 | HAS_CONFIGURE= yes | |
16 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 16 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
17 | USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213 | 17 | USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213 | |
18 | UNLIMIT_RESOURCES+= datasize virtualsize | 18 | UNLIMIT_RESOURCES+= datasize virtualsize | |
19 | 19 | |||
20 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | |||
21 | OVERRIDE_DIRDEPTH= 4 | |||
22 | ||||
20 | USE_LANGUAGES+= c c++ | 23 | USE_LANGUAGES+= c c++ | |
21 | 24 | |||
22 | # XXX: As of 114.0.2 | 25 | # XXX: As of 114.0.2 | |
23 | # For nested constant initializer support in rlbox, requires 8. | 26 | # For nested constant initializer support in rlbox, requires 8. | |
24 | GCC_REQD+= 8 | 27 | GCC_REQD+= 8 | |
25 | 28 | |||
26 | TOOL_DEPENDS+= cbindgen>=0.24.3:../../devel/cbindgen | 29 | TOOL_DEPENDS+= cbindgen>=0.24.3:../../devel/cbindgen | |
27 | 30 | |||
28 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | 31 | .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) | |
29 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | 32 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | |
30 | USE_TOOLS+= diff | 33 | USE_TOOLS+= diff | |
31 | .else | 34 | .else | |
32 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" | 35 | CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" |