svn commit: r403011 - head/devel/gdb

Jung-uk Kim jkim at FreeBSD.org
Fri Dec 4 21:52:10 UTC 2015


Author: jkim
Date: Fri Dec  4 21:52:09 2015
New Revision: 403011
URL: https://svnweb.freebsd.org/changeset/ports/403011

Log:
  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

Modified:
  head/devel/gdb/Makefile

Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile	Fri Dec  4 20:46:58 2015	(r403010)
+++ head/devel/gdb/Makefile	Fri Dec  4 21:52:09 2015	(r403011)
@@ -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
 


More information about the svn-ports-head mailing list