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: k...@freebsd.org
          Reporter: y...@freebsd.org
          Assignee: k...@freebsd.org
             Flags: maintainer-feedback?(k...@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.

Reply via email to