summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.15.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.15.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
index dd969d8e7e..6a60aa7f5b 100644
--- a/meta/recipes-devtools/python/python_2.7.15.bb
+++ b/meta/recipes-devtools/python/python_2.7.15.bb
@@ -21,7 +21,7 @@ SRC_URI += "\
21 file://setuptweaks.patch \ 21 file://setuptweaks.patch \
22 file://check-if-target-is-64b-not-host.patch \ 22 file://check-if-target-is-64b-not-host.patch \
23 file://search_db_h_in_inc_dirs_and_avoid_warning.patch \ 23 file://search_db_h_in_inc_dirs_and_avoid_warning.patch \
24 file://avoid_warning_about_tkinter.patch \ 24 ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', 'file://avoid_warning_about_tkinter.patch', d)} \
25 file://avoid_warning_for_sunos_specific_module.patch \ 25 file://avoid_warning_for_sunos_specific_module.patch \
26 file://python-2.7.3-remove-bsdb-rpath.patch \ 26 file://python-2.7.3-remove-bsdb-rpath.patch \
27 file://run-ptest \ 27 file://run-ptest \
@@ -45,6 +45,7 @@ EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no"
45 45
46PACKAGECONFIG ??= "bdb" 46PACKAGECONFIG ??= "bdb"
47PACKAGECONFIG[bdb] = ",,db" 47PACKAGECONFIG[bdb] = ",,db"
48PACKAGECONFIG[tk] = ",,tk"
48 49
49do_configure_append() { 50do_configure_append() {
50 rm -f ${S}/Makefile.orig 51 rm -f ${S}/Makefile.orig
@@ -172,7 +173,7 @@ RDEPENDS_${PN}-modules += "${PN}-misc"
172 173
173# ptest 174# ptest
174RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip" 175RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip"
175 176RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk', '', d)}"
176# catch manpage 177# catch manpage
177PACKAGES += "${PN}-man" 178PACKAGES += "${PN}-man"
178FILES_${PN}-man = "${datadir}/man" 179FILES_${PN}-man = "${datadir}/man"