pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Creating .buildlinks links for header/libs as well as binary
On Mon, Aug 26, 2024 at 06:13:50PM +0530, Mayuresh wrote:
> I am trying to build wip/scip (not committed) which has dependencies for
> both library and binary of wip/soplex
>
> I have included buildlink3.mk of wip/soplex in wip/scip/Makefile.
>
> I can see that, under work/.buildlink the links to headers and libraries
> provided by soplex are getting created. But the link to the binary
> bin/soplex isn't getting created leading to the following error.
>
> -- Finding Soplex
> CMake Error at /usr/pkgsrc/work/wip/scip/work/.buildlink/lib/cmake/soplex/soplex-targets.cmake:107 (message):
> The imported target "soplex" references the file
>
> "/usr/pkgsrc/work/wip/scip/work/.buildlink/bin/soplex"
>
> but this file does not exist. Possible reasons include:
>
>
> Adding USE_TOOLS += soplex did not help either.
>
> What exactly is needed for this scenario?
Some packages, mostly ones built using cmake and providing
infrastructure files for cmake (basically like pkg-config files, just
only for cmake), list too many files in these infrastructure files.
In these cases you need to make sure those files end up in the
temporary buildink directory, like e.g. qt5base does.
I.e. adding
BUILDLINK_FILES.soplex+= bin/soplex
to soplex' buildlink3.mk file should fix this.
Thomas
Home |
Main Index |
Thread Index |
Old Index