Re: ports on 10.0-CURRENT: r226027 is incorrect fix

From: Stanislav Sedov <stas_at_FreeBSD.org>
Date: Fri, 7 Oct 2011 16:44:11 -0700
On Sat, 8 Oct 2011 02:03:37 +0300
Mykola Dzham <i_at_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
Received on Fri Oct 07 2011 - 21:45:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC