mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Python add tcl/tk dependency (make) for module _tkinter (#6932)
This commit is contained in:
@@ -778,3 +778,33 @@ index 3173b3b..88b66ed 100644
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 719b6b5d78c02d7eb025ec52d1e71d08c596cce5 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 23 May 2022 14:53:35 +0200
|
||||
Subject: Fix search paths for tcl/tk
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b0cca04..6b708fb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3077,8 +3077,13 @@ then
|
||||
then
|
||||
AC_MSG_ERROR([use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither])
|
||||
fi
|
||||
- TCLTK_INCLUDES=""
|
||||
- TCLTK_LIBS=""
|
||||
+ if test -n "$PKG_CONFIG" && "$PKG_CONFIG" --exists tcl tk; then
|
||||
+ TCLTK_INCLUDES="`"$PKG_CONFIG" tcl tk --cflags-only-I 2>/dev/null`"
|
||||
+ TCLTK_LIBS="`"$PKG_CONFIG" tcl tk --libs 2>/dev/null`"
|
||||
+ else
|
||||
+ TCLTK_INCLUDES=""
|
||||
+ TCLTK_LIBS=""
|
||||
+ fi
|
||||
else
|
||||
TCLTK_INCLUDES="$with_tcltk_includes"
|
||||
TCLTK_LIBS="$with_tcltk_libs"
|
||||
--
|
||||
2.36.1
|
||||
|
||||
|
||||
@@ -787,3 +787,33 @@ index 062ca45..ac29f71 100644
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
||||
From a65ae93e0be3e998c5e47210107ea2bcbe985c4f Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 23 May 2022 12:41:29 +0200
|
||||
Subject: Fix search paths for tcl/tk
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b7731f8..d8806df 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3096,8 +3096,13 @@ then
|
||||
then
|
||||
AC_MSG_ERROR([use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither])
|
||||
fi
|
||||
- TCLTK_INCLUDES=""
|
||||
- TCLTK_LIBS=""
|
||||
+ if test -n "$PKG_CONFIG" && "$PKG_CONFIG" --exists tcl tk; then
|
||||
+ TCLTK_INCLUDES="`"$PKG_CONFIG" tcl tk --cflags-only-I 2>/dev/null`"
|
||||
+ TCLTK_LIBS="`"$PKG_CONFIG" tcl tk --libs 2>/dev/null`"
|
||||
+ else
|
||||
+ TCLTK_INCLUDES=""
|
||||
+ TCLTK_LIBS=""
|
||||
+ fi
|
||||
else
|
||||
TCLTK_INCLUDES="$with_tcltk_includes"
|
||||
TCLTK_LIBS="$with_tcltk_libs"
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@@ -807,3 +807,33 @@ index 29d6126..aa1ad57 100644
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
||||
From c1e2fc1180e777bd61cd01d763e3cf425ef62578 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 23 May 2022 08:45:31 +0200
|
||||
Subject: Fix search paths for tcl/tk
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 90c19a2..ad979e6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3202,8 +3202,13 @@ then
|
||||
then
|
||||
AC_MSG_ERROR([use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither])
|
||||
fi
|
||||
- TCLTK_INCLUDES=""
|
||||
- TCLTK_LIBS=""
|
||||
+ if test -n "$PKG_CONFIG" && "$PKG_CONFIG" --exists tcl tk; then
|
||||
+ TCLTK_INCLUDES="`"$PKG_CONFIG" tcl tk --cflags-only-I 2>/dev/null`"
|
||||
+ TCLTK_LIBS="`"$PKG_CONFIG" tcl tk --libs 2>/dev/null`"
|
||||
+ else
|
||||
+ TCLTK_INCLUDES=""
|
||||
+ TCLTK_LIBS=""
|
||||
+ fi
|
||||
else
|
||||
TCLTK_INCLUDES="$with_tcltk_includes"
|
||||
TCLTK_LIBS="$with_tcltk_libs"
|
||||
--
|
||||
2.36.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user