tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cmake and buildlink
Robert Swindells <rjs%fdy2.co.uk@localhost> writes:
> Greg Troxel <gdt%lexort.com@localhost> wrote:
>> Robert Swindells <rjs%fdy2.co.uk@localhost> writes:
>>> I am trying to get wip/py-pyside-setup to build.
>>>
>>> It generates some source files for bindings to Qt5 then tries to
>>> compile those source files. This fails as the cmake scripts within
>>> the package are not setup to look in the work/.buildlink directory
>>> for headers.
>>>
>>> Are there any other packages that do something similar that I can copy?
>>
>> First, change to devel/cmake/build.mk.
>
> I had already done that.
I would suggest you push when you are converged for a session so others
can look.
>> Are you saying that cmake is looking in $prefix/include and not seeing
>> things in work/.buildlink/include?
>
> Yes, but only for the sources generated during the build.
>
> The files explicitly listed in CMakefiles do seem to look in
> work/.buildlink/include, at least it looks like it from the warnings
> generated during compilation.
Have you tried to build not using pkgsrc? Does that work?
Home |
Main Index |
Thread Index |
Old Index