summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-12-04 21:52:09 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-12-04 21:52:09 +0000
commit6f4bf7baa0dd29b8616f8a0a767c800a99f32fce (patch)
tree97460b5403dfb1feee68d6470b85494eb3799af3 /devel
parentAdd Java build option for PowerPC64. (diff)
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
Notes
Notes: svn path=/head/; revision=403011
Diffstat (limited to 'devel')
-rw-r--r--devel/gdb/Makefile3
1 files changed, 2 insertions, 1 deletions
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