Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 21:52:09 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403011 - head/devel/gdb
Message-ID:  <201512042152.tB4Lq96l083915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512042152.tB4Lq96l083915>