Python add tcl/tk dependency (make) for module _tkinter (#6932)

This commit is contained in:
Schrijvers Luc
2022-05-24 07:05:08 +02:00
committed by GitHub
parent 7bed2ef2ed
commit bda9fa31bd
8 changed files with 110 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ OSI-approved open source license."
HOMEPAGE="https://www.python.org"
LICENSE="Python"
COPYRIGHT="1990-2018 Python Software Foundation"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="f77bf7fb47839f213e5cbf7827281078ea90de7e72b44f10d7ef385ea8c43210"
SOURCE_DIR="Python-$portVersion"
@@ -66,6 +66,7 @@ REQUIRES="
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbz2$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:libffi$secondaryArchSuffix
@@ -74,16 +75,17 @@ BUILD_REQUIRES="
devel:libssl$secondaryArchSuffix
devel:libedit$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:libtclstub8.6$secondaryArchSuffix
devel:libtk8.6$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal
cmd:autoconf
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:make
"
@@ -97,9 +99,7 @@ BUILD()
export CFLAGS="-D_BSD_SOURCE"
rm -Rf Modules/expat
libtoolize --force --copy --install
aclocal
autoconf
autoreconf -fi
export OPT=""
runConfigure --omit-dirs binDir,includeDir ./configure \
--enable-shared --without-ensurepip --with-system-ffi \