Bugzilla Automation <bugzi...@freebsd.org> has asked k...@freebsd.org for
maintainer-feedback:
Bug 243068: devel/cmake: share/cmake/Modules/FindFLEX.cmake looks for
FlexLexer.h in a wrong location
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243068



--- Description ---
> find_path(FLEX_INCLUDE_DIR FlexLexer.h
>  DOC "Path to the flex headers")

can never find port's FlexLexer.h that is installed into
/usr/local/include/flex/FlexLexer.h

Ports should use flex from ports, not from the base, because port have a
generally newer version.

The above place in share/cmake/Modules/FindFLEX.cmake should be:
> find_path(FLEX_INCLUDE_DIR flex/FlexLexer.h
>  DOC "Path to the flex headers")

Reply via email to