tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: geography/gdal-lib: devel/netcdf + devel/libexecinfo



> On Aug 18, 2023, at 8:17 AM, Greg Troxel <gdt%lexort.com@localhost> wrote:
> 
> 
>> Yes, netcdf builds fine.  I have attached netcdf.pc.  It seems to be like yours; neither makes mention of libexecinfo.
> 
> So I don't see why gdal is adding -lexecinfo.  That is the real question.

I’m not sure.

However, the source of the problem is that netcdf/buildlink3.mk lacks a reference to libexecinfo/buildlink3.mk.  (It does include four other buildlink3.mk files.)  If that is added, gdal-lib builds just fine.  (I have not tried any other packages that depend on netcdf.)

Unless I hear otherwise, I’ll commit that change soonish.

This raises a broader question: when must buildlink3.mk include other buildlink3.mk files?  Are those conditions well documented anywhere?

Thanks for your help.

Cheers,
Brook



Home | Main Index | Thread Index | Old Index