forked from pool/fontforge
Takashi Iwai
4e53f86f2a
- add python38_config.patch to build with python-3.8 - spec-cleaned OBS-URL: https://build.opensuse.org/request/show/744183 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=72
16 lines
1.1 KiB
Diff
16 lines
1.1 KiB
Diff
Index: fontforge-20190801/m4/fontforge_arg_enable.m4
|
|
===================================================================
|
|
--- fontforge-20190801.orig/m4/fontforge_arg_enable.m4
|
|
+++ fontforge-20190801/m4/fontforge_arg_enable.m4
|
|
@@ -116,8 +116,8 @@ fi
|
|
if test x"${i_do_have_python_scripting}" != xyes; then
|
|
i_want_python_ver=
|
|
else
|
|
- PKG_CHECK_MODULES([PYTHON],[python-"${PYTHON_VERSION}"], dnl [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"],,[i_do_have_python_scripting=maybe])],
|
|
- [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"],,[i_do_have_python_scripting=no])],
|
|
+ PKG_CHECK_MODULES([PYTHON],[python-"${PYTHON_VERSION}"-embed], dnl [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"-embed],,[i_do_have_python_scripting=maybe])],
|
|
+ [PKG_CHECK_MODULES([PYTHONDEV],[python-"${PYTHON_VERSION}"-embed],,[i_do_have_python_scripting=no])],
|
|
[i_do_have_python_scripting=no])
|
|
dnl dnl TODO: have python3 AND python2, but only have python2 dev, but no python3 dev
|
|
dnl if test x"${i_do_have_python_scripting}" = xmaybe; then
|