pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/spice-server cannot be built if PYTHON_VERSION_DEFAULT=310 is set



Hello everyone,

I would like to report that sysutils/spice-server cannot be built if
PYTHON_VERSION_DEFAULT=310 is set.

It seems adding following patch file,

patches/patch-subprojects_spice-common_aclocal.m4
----------------------------------------------------------------------
$NetBSD$

--- subprojects/spice-common/aclocal.m4.orig    2020-02-27
11:27:02.000000000 +0000
+++ subprojects/spice-common/aclocal.m4
@@ -1336,7 +1336,7 @@ AC_DEFUN([AM_PATH_PYTHON],
   dnl supported. (2.0 was released on October 16, 2000).
   m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
 [python python2 python3 dnl
- python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
+ python3.10 python3.9 python3.8 python3.7 python3.6 python3.5
python3.4 python3.3 dnl
  python3.2 python3.1 python3.0 dnl
  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
  python2.0])
----------------------------------------------------------------------

and adding following in Makefile solved the problem on my computer.

Makefile
----------------------------------------------------------------------
USE_TOOLS+=     gmake pkg-config autoconf

pre-configure:
        cd ${WRKSRC}/subprojects/spice-common && autoconf
----------------------------------------------------------------------

Daisuke


Home | Main Index | Thread Index | Old Index