Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 16:08:34 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495358 - head/cad/kicad-devel/files
Message-ID:  <201903111608.x2BG8Ygm056649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mr
Date: Mon Mar 11 16:08:34 2019
New Revision: 495358
URL: https://svnweb.freebsd.org/changeset/ports/495358

Log:
  Allow kicad-devel configure to find python 2.7 instead of 2.6
  
  PR:		236335
  Submitted by:	george@m5p.com

Added:
  head/cad/kicad-devel/files/patch-CMakeLists.txt   (contents, props changed)

Added: head/cad/kicad-devel/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/kicad-devel/files/patch-CMakeLists.txt	Mon Mar 11 16:08:34 2019	(r495358)
@@ -0,0 +1,22 @@
+--- CMakeLists.txt.orig	2019-03-11 16:59:38.982264000 +0100
++++ CMakeLists.txt	2019-03-11 17:00:47.354215000 +0100
+@@ -668,8 +668,8 @@ if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
+         set( PythonLibs_FIND_VERSION 3.3 )
+     else()
+         # force a python version < 3.0
+-        set( PythonInterp_FIND_VERSION 2.6 )
+-        set( PythonLibs_FIND_VERSION 2.6 )
++        set( PythonInterp_FIND_VERSION 2.7 )
++        set( PythonLibs_FIND_VERSION 2.7 )
+     endif()
+ 
+     find_package( PythonInterp )
+@@ -711,7 +711,7 @@ if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
+     if( KICAD_SCRIPTING_PYTHON3 )
+         find_package( PythonLibs 3.3 REQUIRED )
+     else()
+-        find_package( PythonLibs 2.6 REQUIRED )
++        find_package( PythonLibs 2.7 REQUIRED )
+     endif()
+ 
+     if( KICAD_SCRIPTING_WXPYTHON )



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