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?

The following line in buildlink seemed to help. Hope that's the way.

BUILDLINK_FILES.soplex+=        bin/soplex

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index