Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 03:08:24 -0700
From:      Xin LI <delphij@gmail.com>
To:        Ed Schouten <ed@80386.nl>
Cc:        ports@freebsd.org
Subject:   Re: Instafix for FreeBSD ports brokenness on 10.0?
Message-ID:  <CAGMYy3sncMhe5AH-k6d%2B9eGAq7RnNnTvn%2BWUxGfNKsZ7_%2BsS6A@mail.gmail.com>
In-Reply-To: <20110929084725.GN91943@hoeg.nl>
References:  <20110929084725.GN91943@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 29, 2011 at 1:47 AM, Ed Schouten <ed@80386.nl> wrote:
> Hi folks,
>
> Why can't we simply fix the entire ports tree at once by doing something
> like this?
>
> find ${WRKSRC} -type f \( -name config.libpath -o \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0-name config.rpath -o -name configure -o -name=
 libtool.m4 \) \
> =C2=A0 =C2=A0 =C2=A0 =C2=A0-exec sed -i 's/freebsd1\*)/SHOULDNOTMATCHANYT=
HING)/' {} +
>
> Just to be safe, we can only execute this when OSVERSION is 10.0.

This is not sufficient since some places it's freebsd[123],
freebsd[[123]], etc...

Cheers,
--=20
Xin LI <delphij@delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3sncMhe5AH-k6d%2B9eGAq7RnNnTvn%2BWUxGfNKsZ7_%2BsS6A>