[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243068

            Bug ID: 243068
           Summary: devel/cmake: share/cmake/Modules/FindFLEX.cmake looks
                    for FlexLexer.h in a wrong location
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at freebsd.org
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

> 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")

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list