1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-13 15:29:15 -04:00
ports/irc/weechat/files/patch-cmake_FindTCL.cmake
Bernard Spil 21d92d5d8c irc/weechat: Fix build errors
- doesn't know about TCL 8.7 yet
 - requires PHP installed during configure

Submitted by:	fluffy
2018-07-18 11:27:24 +00:00

18 lines
434 B
CMake

--- cmake/FindTCL.cmake.orig 2018-07-14 10:35:10 UTC
+++ cmake/FindTCL.cmake
@@ -99,6 +99,7 @@ endif()
find_library(TCL_LIBRARY
NAMES
+ tcl87 tcl8.7
tcl86 tcl8.6
tcl85 tcl8.5
tcl
@@ -128,6 +129,7 @@ set(TCL_POSSIBLE_INCLUDE_PATHS
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/local/include/tcl${TCL_VERSION}
+ /usr/local/include/tcl8.7
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
)