Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2011 16:44:11 -0700
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Mykola Dzham <i@levsha.me>
Cc:        jilles@freebsd.org, current@freebsd.org
Subject:   Re: ports on 10.0-CURRENT: r226027 is incorrect fix
Message-ID:  <20111007164411.554ac9c0.stas@FreeBSD.org>
In-Reply-To: <20111007230336.GB3051@laptop.levsha.me>
References:  <20111007230336.GB3051@laptop.levsha.me>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Oct 2011 02:03:37 +0300
Mykola Dzham <i@levsha.me> mentioned:

> Hi!
> r226027 fix ( ... s/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/ ...) is
> incorrect: this commit breaks metaports building:
> 
> # cd /usr/ports/print/teTeX && sudo make clean all
> ===>  Cleaning for teTeX-3.0_5
> ===>  License check disabled, port has not defined LICENSE
> ===>  Found saved configuration for teTeX-3.0_2
> ===>  Extracting for teTeX-3.0_5
> ===>  Patching for teTeX-3.0_5
> ===>  Configuring for teTeX-3.0_5
> find /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0 -type f \( -name config.libpath -o  -name config.rpath -o -name configure -o -name libtool.m4 \)  -exec sed -i '' -e 's/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/'  -e 's/freebsd\[123\]\*)/SHOULDNOTMATCHANYTHING2)/' {} +
> find: /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0: No such file or directory
> *** Error code 1
> 
> Stop in /usr/ports/print/teTeX.
> *** Error code 1
> 
> Stop in /usr/ports/print/teTeX.
> 
> I think this commit should be reverted. Using UNAME_r is less destructive work around
> 

Hi!

I just committed the fix that checks if the ${WRKSRC} directory exists firts.

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111007164411.554ac9c0.stas>