help with a regex please
dardo82 at gmail.com
Sun Jun 19 23:34:48 UTC 2022
Q. E. D.
On Mon, Jun 20, 2022, 01:05 Ken Cunningham <ken.cunningham.webuse at gmail.com>
> > On Jun 19, 2022, at 3:24 PM, Joshua Root <jmr at macports.org> wrote:
> > On 2022-6-20 06:34 , Ken Cunningham wrote:
> >> to fix the universal build of some ports, eg jemalloc, I would like to
> strip out the host bits from these text strings, eg convert this:
> >> echo "--prefix=/opt/local --with-jemalloc-prefix=
> --host=aarch64-apple-darwin21.5.0 host_alias=aarch64-apple-darwin21.5.0
> >> to this:
> >> echo "--prefix=/opt/local --with-jemalloc-prefix= CC=/usr/bin/clang”
> >> however, my regex-fu is not strong.
> >> Anyone know the secret reinplace regex that might do that?
> >> thx
> > Why not just not add it in the first place?
> > - Josh
> Now that you mention it, I think you’re right, the muniversal PG is adding
> it and I might be able to turn that off.
> I recall doing that with libvpx a while back. I will try that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-dev