Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jan 2020 21:54:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243068] devel/cmake: share/cmake/Modules/FindFLEX.cmake looks for FlexLexer.h in a wrong location
Message-ID:  <bug-243068-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243068

            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@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@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")

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243068-7788>