[Bug 192665] New: devel/libftdi configuration broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 14 19:38:31 UTC 2014


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

            Bug ID: 192665
           Summary: devel/libftdi configuration broken
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: johan at stromnet.se

Since a while ago (most likely the CMake changes a few days back, but not sure
when this became a problem), the libftdi-config util reports invalid path:

$ /usr/local/bin/libftdi-config --cflags
-I/usr/local/include/libftdi
$ ls -al /usr/local/include/libftdi
ls: /usr/local/include/libftdi: No such file or directory
$ ls -al /usr/local/include/ftdi.h
-rw-r--r--  1 root  wheel  16428 Mar 15  2012 /usr/local/include/ftdi.h
$

CMakeLists.txt from libftdi-0.20 seems to have:

set(includedir  ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})

However, it does not seem to actually install it in
/usr/local/include/libftdi..
However, the attached patch fixes the problem (wronlgy reported include-dir)
and I'm now able to compile my program again.

Env: FreeBSD 10.0-RELEASE on amd64.

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


More information about the freebsd-ports-bugs mailing list