tech-pkg archive

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

Re: USE_PKGSRC_GCC_RUNTIME



* On 2017-10-12 at 16:34 BST, Edgar Fuß wrote:

> > pkgsrc can't magically compute that it's coming from a package and will
> > assume that's a system path
> I'm afraid the problem is more that pkgsrc can't magically uncomment lines.
> 
> lang/gcc6/buildlink3.mk:
> 
> # Packages that link against shared libraries need a full dependency.
> #.if defined(_USE_GCC_SHLIB)
> #DEPENDS+=      {gcc6, gcc6-libs}>=${_GCC_REQD}:../../lang/gcc6-libs
> #ABI_DEPENDS+=  {gcc6,gcc6-libs}>=6.0:../../lang/gcc6-libs
> #.endif
> 
> while lang/gcc48/buildlink3 has:
> 
> # Packages that link against shared libraries need a full dependency.
> .if defined(_USE_GCC_SHLIB)
> DEPENDS+=       {gcc48,gcc48-libs}>=4.8:../../lang/gcc48-libs
> ABI_DEPENDS+=   {gcc48,gcc48-libs}>=4.8.0:../../lang/gcc48-libs
> .endif
> 
> (gcc49 is OK too, 5/7 have it commented out)

Hah, good spot, I have no idea why that's commented out (and has
syntax errors in it) - it's clearly broken.  Maya?

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index