pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: graphics/graphite2 cmake build failure
On Tue, Dec 16, 2014 at 07:10:15AM +0000, Memnon Anon wrote:
> Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
> writes:
>
> > on Linux (Ubuntu 10.04, Ubuntu 12.04), configure fails for
> > graphics/graphite2:
> [...]
> > the recent patches/patch-src_CMakeLists.txt removed two lines containing
> > include(Graphite)
> > in src/CMakeLists.txt. nolib_test is defined in Graphite.cmake, the
> > include is needed.
> >
> > When I re-add these lines, the package compiles.
>
> Reinserting the include lines almost got me there, however,
>
> -------------------------
> Scanning dependencies of target freetype
> [ 79%] Building C object
> tests/examples/CMakeFiles/freetype.dir/freetype.c.o
> /usr/pkgsrc-git/graphics/graphite2/work/graphite2-1.2.4/tests/examples/freetype.c:5:22:
> fatal error: ft2build.h: No such file or directory
> #include "ft2build.h"
> -------------------------
>
> After some trial and error, a simple symbolic link seems to fix that:
>
> root@debian:/usr/pkgsrc/graphics/graphite2/work/.buildlink/include#
> ln -s /usr/pkg/include/freetype2/ .
>
> When I add that, the package compiles on my Debian Gnu/Linux box.
If graphite2 needs freetype2, it should include the bl3.mk file.
Does adding
.include "../../graphics/freetype2/buildlink3.mk"
fix the build? (Without the manual symlinking.)
Thomas
Home |
Main Index |
Thread Index |
Old Index