Tue Nov 8 00:36:57 2022 UTC ()
seamonkey: update Python 3 tool dependency


(gutteridge)
diff -r1.14 -r1.15 pkgsrc/www/seamonkey/mozilla-common.mk

cvs diff -r1.14 -r1.15 pkgsrc/www/seamonkey/mozilla-common.mk (expand / switch to unified diff)

--- pkgsrc/www/seamonkey/mozilla-common.mk 2022/09/08 20:27:32 1.14
+++ pkgsrc/www/seamonkey/mozilla-common.mk 2022/11/08 00:36:56 1.15
@@ -1,36 +1,36 @@ @@ -1,36 +1,36 @@
1# $NetBSD: mozilla-common.mk,v 1.14 2022/09/08 20:27:32 ryoon Exp $ 1# $NetBSD: mozilla-common.mk,v 1.15 2022/11/08 00:36:56 gutteridge 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/seamonkey/Makefile 5# used by www/seamonkey/Makefile
6 6
7HAS_CONFIGURE= yes 7HAS_CONFIGURE= yes
8CONFIGURE_ARGS+= --prefix=${PREFIX} 8CONFIGURE_ARGS+= --prefix=${PREFIX}
9USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip 9USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip
10USE_LANGUAGES+= c99 c++ 10USE_LANGUAGES+= c99 c++
11UNLIMIT_RESOURCES+= datasize virtualsize 11UNLIMIT_RESOURCES+= datasize virtualsize
12 12
13GCC_REQD+= 4.9 13GCC_REQD+= 4.9
14 14
15.include "../../mk/bsd.prefs.mk" 15.include "../../mk/bsd.prefs.mk"
16 16
17# Python 2.7 and Python 3.6 or later are required simultaneously. 17# Python 2.7 and Python 3.8 or later are required simultaneously.
18PYTHON_VERSIONS_ACCEPTED= 27 18PYTHON_VERSIONS_ACCEPTED= 27
19PYTHON_FOR_BUILD_ONLY= tool 19PYTHON_FOR_BUILD_ONLY= tool
20TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 20TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
21# Include pyversion.mk after setting PYTHON_* but before testing the default. 21# Include pyversion.mk after setting PYTHON_* but before testing the default.
22.include "../../lang/python/pyversion.mk" 22.include "../../lang/python/pyversion.mk"
23.if !empty(PYTHON_VERSION_DEFAULT:M3[6789]) || !empty(PYTHON_VERSION_DEFAULT:M310) 23.if !empty(PYTHON_VERSION_DEFAULT:M3[89]) || !empty(PYTHON_VERSION_DEFAULT:M310)
24TOOL_DEPENDS+= python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT} 24TOOL_DEPENDS+= python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT}
25ALL_ENV+= PYTHON3=${PREFIX}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./} 25ALL_ENV+= PYTHON3=${PREFIX}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./}
26.else 26.else
27TOOL_DEPENDS+= python38-[0-9]*:../../lang/python38 27TOOL_DEPENDS+= python38-[0-9]*:../../lang/python38
28ALL_ENV+= PYTHON3=${PREFIX}/bin/python3.8 28ALL_ENV+= PYTHON3=${PREFIX}/bin/python3.8
29.endif 29.endif
30 30
31.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 31.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
32BUILD_DEPENDS+= yasm>=1.1:../../devel/yasm 32BUILD_DEPENDS+= yasm>=1.1:../../devel/yasm
33 33
34# Enable Google widevine CDM. This requires external libwidevinecdm.so. 34# Enable Google widevine CDM. This requires external libwidevinecdm.so.
35#CONFIGURE_ARGS+= --enable-eme=widevine 35#CONFIGURE_ARGS+= --enable-eme=widevine
36.endif 36.endif