mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 23:30:04 +02:00
Python add tcl/tk dependency (make) for module _tkinter (#6932)
This commit is contained in:
@@ -9,14 +9,14 @@ OSI-approved open source license."
|
||||
HOMEPAGE="https://www.python.org"
|
||||
LICENSE="Python"
|
||||
COPYRIGHT="1990-2020 Python Software Foundation"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="b1d3a76420375343b5e8a22fceb1ac65b77193e9ed27146524f0a9db058728ea"
|
||||
SOURCE_DIR="Python-$portVersion"
|
||||
PATCHES="python3-$portVersion.patchset"
|
||||
PATCHES="python38-$portVersion.patchset"
|
||||
if [ "$secondaryArchSuffix" = _x86 ] ; then
|
||||
PATCHES+="
|
||||
python3_x86-$portVersion.patchset
|
||||
python38_x86-$portVersion.patchset
|
||||
"
|
||||
fi
|
||||
|
||||
@@ -57,6 +57,7 @@ REQUIRES="
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libffi$secondaryArchSuffix
|
||||
@@ -65,17 +66,18 @@ 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
|
||||
autoconf_archive
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
@@ -89,9 +91,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 \
|
||||
|
||||
Reference in New Issue
Block a user