maintainer-feedback requested: [Bug 243068] devel/cmake: share/cmake/Modules/FindFLEX.cmake looks for FlexLexer.h in a wrong location

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 3 21:54:59 GMT 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at 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")


More information about the kde-freebsd mailing list