summaryrefslogtreecommitdiff
path: root/games/py-fife/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-17 18:17:45 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-06-17 18:17:45 +0000
commitcb333cf1eccb98899b1700ca42a800ab92697fa4 (patch)
tree7f623e7c3f52defb4424cb7124504b8d4e77d35c /games/py-fife/files/patch-CMakeLists.txt
parentUpdate to 2020.06.14 (diff)
Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message - Update dependent ports: - Fix build with swig 4.0.1 - Update *_DEPENDS - Remove BINARY_ALIAS Changes: http://www.swig.org/news.php PR: 246613 Exp-run by: antoine
Notes
Notes: svn path=/head/; revision=539491
Diffstat (limited to 'games/py-fife/files/patch-CMakeLists.txt')
-rw-r--r--games/py-fife/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/py-fife/files/patch-CMakeLists.txt b/games/py-fife/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..41fa8522dda2
--- /dev/null
+++ b/games/py-fife/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2019-01-11 17:24:38 UTC
++++ CMakeLists.txt
+@@ -897,7 +897,7 @@ if(build-python)
+ find_package(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
+ include_directories(${PYTHON_INCLUDE_PATH})
+
+- set(CMAKE_SWIG_FLAGS -modern -fastdispatch -dirvtable -nosafecstrings -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone -keyword -w511 -w473 -w404 -w314)
++ set(CMAKE_SWIG_FLAGS -fastdispatch -dirvtable -fastproxy -keyword -w511 -w473 -w404 -w314)
+
+ set_source_files_properties("${PROJECT_BINARY_DIR}/fife.i" PROPERTIES CPLUSPLUS ON)
+ set(FIFE_SOURCES ${FIFE_CORE_SRC})