From 6f4bf7baa0dd29b8616f8a0a767c800a99f32fce Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 4 Dec 2015 21:52:09 +0000 Subject: Partially revert r401242 to fix build with PYTHON option turned on. Note it is not possible to use PYTHON_CMD like this because it is resolved too late and configure script fails like this: checking whether to use python... checking for ... missing configure: error: unable to find python program MFH: 2015Q4 --- devel/gdb/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'devel/gdb') diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index d3e564dc36d4..f148d12c0610 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -62,7 +62,8 @@ GUILE_CONFIGURE_WITH= guile GUILE_USES= pkgconfig GUILE_LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2 PORT_READLINE_USES= readline:port -PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} +PYTHON_CONFIGURE_ON= --with-python=${PYTHON_CMD} +PYTHON_CONFIGURE_OFF= --without-python PYTHON_USES= python:2 TUI_CONFIGURE_ENABLE= tui -- cgit v1.2.3