I'm porting some software that relies on gtk and python 3.2+ relevant Makefile parts: USES= autoreconf gmake \ libtool pkgconfig \ python:3.2+ OPTIONS_DEFINE= NLS NLS_USES= gettext NLS_CONFIGURE_ENABLE= gettext INSTALLS_ICONS= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GNOME= introspection:run py3gobject3 intltool I tracked the issue down to gtk-update-icon-cache from x11-toolkits/gtk20. gtk-update-icon-cache pulls in python2.7 even though python 3.6 was already installed earlier in the process. Later when the configure script runs, it finds the wrong python version and fails with the error: checking for a Python interpreter with version >= 3.2.3... none configure: error: no suitable Python interpreter found Is there a way to build this port w/o pulling in python 2.7?
(In reply to bcomputerguy from comment #0) This is too vague to answer. What software are you trying to port? I'm closing this since it's more of a support question better suited for ports@ than the bug tracker. I doubt that having Python 2.7 installed is the cause of the problem. It's perfectly normal to have both Python 2.7 and 3.6 installed simultaneously. Since the port appears to use autoconf try looking at ${WRKSRC}/config.log for some clues on why configure fails to find Python 3.6.
It's this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225259