pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc



* On 2021-01-16 at 16:41 GMT, Adam Ciarciński wrote:

> >> We can of course blindly apply the patch from upstream, but I think
> >> it would still be beneficial to figure out why it work for me but
> >> not for you. Have you also tried with a completely new bootstrap? I
> >> bootstrapped to /tmp/pkg and removed /opt/pkg from my path and it
> >> still worked for me.
> > 
> > I did the following:
> > 
> > - install devel/m4 and run 'rehash'. 'which gm4' shows the version
> >  from $pkg_prefix/bin
> >  => bmake in devel/automake still fails
> > 
> > - 'mv gm4 gm4.bak' in /Library/Developer/CommandLineTools/usr/bin
> >  => bmake in devel/automake always works
> > 
> > - 'mv gm4.bak gm4' in /Library/Developer/CommandLineTools/usr/bin
> >  => bmake in devel/automake still works (why?)
> >  After a reboot it fails again.
> > 
> > The Command Line Tools for Xcode 12.3 install m4 1.4.6 from 2006(!).
> 
> You need to apply this patch
> 
> --- tools/tools.Darwin.mk     10 Oct 2020 09:31:50 -0000      1.60
> +++ tools/tools.Darwin.mk     16 Jan 2021 16:31:40 -0000
> @@ -54,7 +54,7 @@
>  #
>  .if ${OS_VERSION:R} > 9 && ${OS_VERSION:R} < 20
>  TOOLS_PLATFORM.gmake?=               /usr/bin/gnumake
> -TOOLS_PLATFORM.gm4?=         /usr/bin/gm4
> +#TOOLS_PLATFORM.gm4?=                /usr/bin/gm4
>  .endif
>  TOOLS_PLATFORM.grep?=                /usr/bin/grep
>  .if exists(/usr/bin/groff)

This is now fixed in the latest version of tools.Darwin.mk.

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



Home | Main Index | Thread Index | Old Index