Below diff converts udis86 to depend on python3 instead of python2. This is needed in order to update py-sphinx to newer versions which are python3-only.
ok? Index: Makefile =================================================================== RCS file: /cvs/ports/devel/udis86/Makefile,v retrieving revision 1.10 diff -u -p -u -r1.10 Makefile --- Makefile 10 Dec 2020 02:20:30 -0000 1.10 +++ Makefile 13 Dec 2020 07:26:43 -0000 @@ -4,7 +4,7 @@ COMMENT = easy-to-use minimalistic disas DISTNAME = udis86-1.7.2 CATEGORIES = devel -REVISION = 3 +REVISION = 4 SHARED_LIBS= udis86 1.0 @@ -21,10 +21,13 @@ WANTLIB += c MODULES = lang/python +MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3} + BUILD_DEPENDS = devel/yasm \ - textproc/py-sphinx>=1.5 + textproc/py-sphinx${MODPY_FLAVOR}>=1.5 CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += --with-sphinx-build=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} MAKE_ENV = LIBudis86_VERSION=${LIBudis86_VERSION} FAKE_FLAGS = docdir=${PREFIX}/share/doc/udis86/x86