diff options
| author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-01-19 09:26:54 +0000 | 
|---|---|---|
| committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-01-19 09:26:54 +0000 | 
| commit | c00bfac9409328ec597d7c82dd714412304df610 (patch) | |
| tree | 3ad5e2ce3dc95139856033f834c64eba50433ea6 /devel/cmake/files/patch-Modules_FindFLEX.cmake | |
| parent | Update to the 20200117 snapshot of GCC 8.3.1. (diff) | |
devel/cmake: Make Flex find module look in ${LOCALBASE}
PR:		243068
Reported by:	yuri
Notes
Notes:
    svn path=/head/; revision=523523
Diffstat (limited to 'devel/cmake/files/patch-Modules_FindFLEX.cmake')
| -rw-r--r-- | devel/cmake/files/patch-Modules_FindFLEX.cmake | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/devel/cmake/files/patch-Modules_FindFLEX.cmake b/devel/cmake/files/patch-Modules_FindFLEX.cmake new file mode 100644 index 000000000000..0d448b432d68 --- /dev/null +++ b/devel/cmake/files/patch-Modules_FindFLEX.cmake @@ -0,0 +1,20 @@ +--- Modules/FindFLEX.cmake.orig	2020-01-19 09:02:30 UTC ++++ Modules/FindFLEX.cmake +@@ -103,10 +103,15 @@ find_program(FLEX_EXECUTABLE NAMES flex win_flex DOC " + mark_as_advanced(FLEX_EXECUTABLE) +  + find_library(FL_LIBRARY NAMES fl +-  DOC "Path to the fl library") ++  DOC "Path to the fl library" ++  PATHS %%LOCALBASE%%/lib ++  ) +  + find_path(FLEX_INCLUDE_DIR FlexLexer.h +-  DOC "Path to the flex headers") ++  DOC "Path to the flex headers" ++  PATHS %%LOCALBASE%%/include ++  PATH_SUFFIXES flex ++  ) +  + mark_as_advanced(FL_LIBRARY FLEX_INCLUDE_DIR) +  | 
