pkgsrc-Users archive

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

Re: espeak-ng: PKGCONFIG_OVERRIDE not needed anymore



On Wed, Mar 13, 2024 at 01:18:29PM +0000, adr wrote:
> > > Hi, I noticed that the package can now be built without
> > > PKGCONFIG_OVERRIDE+=	espeak-ng.pc.in
> > 
> > Yes, it can be built, but it will work worse for its users.
> > 
> > With the line, the installed espeak-ng.pc file has:
> > 
> > Libs: -Wl,-R${libdir} -L${libdir} -lespeak-ng
> > 
> > without it:
> > 
> > Libs: -L${libdir} -lespeak-ng
> > 
> > which might lead to software depending on it to _not_ find the
> > espeak-ng library at run-time.
> 
> By the way, shouldn't this be automatically fixed when the port has a
> buildlink3.mk? Doesn't it make sense?

People might want to build software outside of pkgsrc but use
pkgsrc-installed libraries - so the fix needs to be there in the
installed files.
 Thomas


Home | Main Index | Thread Index | Old Index