Index: devel/ice37/files/patch-python-config-Make.rules =================================================================== --- devel/ice37/files/patch-python-config-Make.rules (revision 569006) +++ devel/ice37/files/patch-python-config-Make.rules (working copy) @@ -1,6 +1,6 @@ ---- python/config/Make.rules.orig 2018-04-20 15:02:08 UTC +--- python/config/Make.rules.orig 2019-02-05 18:03:04 UTC +++ python/config/Make.rules -@@ -12,7 +12,8 @@ +@@ -7,7 +7,8 @@ # version to be used for building the Ice extension, set PYTHON to the # location of the python interpreter. # @@ -10,7 +10,21 @@ # ---------------------------------------------------------------------- # Don't change anything below this line! -@@ -46,7 +47,7 @@ python_cppflags := $(filter-out +@@ -28,8 +29,12 @@ python_ldflags := $(shell $(python-config) -- + # Use .so as default value --extension-suffix is not supported by python-config in all platforms + python_extsuffix := $(or $(shell $(python-config) --extension-suffix 2> /dev/null),.so) + +-ifneq ($(filter debian ubuntu,$(linux_id)),) ++# As of Python 3.8 the python library is not included in the ldflags ++# This is also the same behavior used by pip + allow-undefined-symbols := yes ++ ++# Debian packaging complains if these libraries are included ++ifneq ($(filter debian ubuntu,$(linux_id)),) + python_ldflags := $(filter-out -lpython% -ldl -lutil,$(python_ldflags)) + endif + +@@ -45,7 +50,7 @@ python_cppflags := $(filter-out -Wunreachable- # # Python installation directory # Index: devel/py-ice37/pkg-plist =================================================================== --- devel/py-ice37/pkg-plist (revision 569006) +++ devel/py-ice37/pkg-plist (working copy) @@ -186,7 +186,7 @@ %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.py %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.pyc %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.pyo -%%PYTHON_SITELIBDIR%%/IcePy.so +%%PYTHON_SITELIBDIR%%/IcePy%%PYTHON_EXT_SUFFIX%%.so %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.py %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.pyc %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.pyo