Instafix for FreeBSD ports brokenness on 10.0?

Xin LI delphij at gmail.com
Thu Sep 29 10:33:09 UTC 2011


On Thu, Sep 29, 2011 at 1:47 AM, Ed Schouten <ed at 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 \
>        -name config.rpath -o -name configure -o -name libtool.m4 \) \
>        -exec sed -i 's/freebsd1\*)/SHOULDNOTMATCHANYTHING)/' {} +
>
> 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,
-- 
Xin LI <delphij at delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die


More information about the freebsd-ports mailing list