diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index 9bd78e3ad23a..7c3f60efc675 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libmpfr.so:math/mpfr TEST_DEPENDS= runtest:misc/dejagnu USES= compiler:c++11-lang cpe gmake libtool tar:xz -USE_PYTHON= py3kplist +USE_PYTHON= flavors py3kplist TEST_TARGET= check @@ -85,6 +85,12 @@ TUI_CONFIGURE_ENABLE= tui .include +.if ${PORT_OPTIONS:MPYTHON} +.if ${PYTHON_VER} != ${PYTHON_DEFAULT} +PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} +.endif +.endif + .if ! ${PORT_OPTIONS:MBUNDLED_READLINE} EXCLUDE+= readline .endif