svn commit: r495358 - head/cad/kicad-devel/files

Michael Reifenberger mr at FreeBSD.org
Mon Mar 11 16:08:35 UTC 2019


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 at 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 )


More information about the svn-ports-head mailing list