Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 19:43:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548518 - head/graphics/s2/files
Message-ID:  <202009131943.08DJh8aX085361@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep 13 19:43:08 2020
New Revision: 548518
URL: https://svnweb.freebsd.org/changeset/ports/548518

Log:
  Disable swig/python detection explicitly

Added:
  head/graphics/s2/files/
  head/graphics/s2/files/patch-CMakeLists.txt   (contents, props changed)

Added: head/graphics/s2/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/files/patch-CMakeLists.txt	Sun Sep 13 19:43:08 2020	(r548518)
@@ -0,0 +1,30 @@
+--- CMakeLists.txt.orig	2019-03-04 16:53:16 UTC
++++ CMakeLists.txt
+@@ -61,9 +61,6 @@ endif()
+ find_package(OpenSSL REQUIRED)
+ # pthreads isn't used directly, but this is still required for std::thread.
+ find_package(Threads REQUIRED)
+-find_package(SWIG)
+-find_package(PythonInterp)
+-find_package(PythonLibs)
+ 
+ if (WIN32)
+     # Use unsigned characters
+@@ -86,7 +83,7 @@ endif()
+ # OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake ..
+ include_directories(
+     ${GFLAGS_INCLUDE_DIRS} ${GLOG_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
+-    ${PYTHON_INCLUDE_DIRS})
++)
+ include_directories(src)
+ 
+ add_library(s2
+@@ -529,8 +526,4 @@ endif()
+ 
+ if (BUILD_EXAMPLES)
+   add_subdirectory("doc/examples" examples)
+-endif()
+-
+-if (${SWIG_FOUND} AND ${PYTHONLIBS_FOUND})
+-  add_subdirectory("src/python" python)
+ endif()



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