pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox52 firefox52: build fix: make Python requir...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/591d84af8be7
branches:  trunk
changeset: 443793:591d84af8be7
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Dec 22 14:34:11 2020 +0000

description:
firefox52: build fix: make Python requirements explicit

Likely this is needed because gtk2 no longer provides python2.

diffstat:

 www/firefox52/mozilla-common.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 84d56ae6ac14 -r 591d84af8be7 www/firefox52/mozilla-common.mk
--- a/www/firefox52/mozilla-common.mk   Tue Dec 22 13:34:25 2020 +0000
+++ b/www/firefox52/mozilla-common.mk   Tue Dec 22 14:34:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.10 2020/11/12 10:03:24 nia Exp $
+# $NetBSD: mozilla-common.mk,v 1.11 2020/12/22 14:34:11 nia Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -136,6 +136,9 @@
 PREFER.bzip2?= pkgsrc
 .endif
 
+PYTHON_VERSIONS_ACCEPTED=      27
+PYTHON_FOR_BUILD_ONLY=         tool
+
 .include "../../archivers/bzip2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=1.1
 .include "../../devel/libevent/buildlink3.mk"
@@ -149,6 +152,7 @@
 .include "../../graphics/MesaLib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.10.2nb4
 .include "../../graphics/cairo/buildlink3.mk"
+.include "../../lang/python/tool.mk"
 .include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../net/libIDL/buildlink3.mk"
 .include "../../textproc/hunspell/buildlink3.mk"



Home | Main Index | Thread Index | Old Index