ports on 10.0-CURRENT: r226027 is incorrect fix

From: Mykola Dzham <i_at_levsha.me>
Date: Sat, 8 Oct 2011 02:03:37 +0300
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

-- 
LEFT-(UANIC|RIPE)
JID: levsha_at_jabber.net.ua
PGP fingerprint: 1BCD 7C80 2E04 7282 C944  B0E0 7E67 619E 4E72 9280
Received on Fri Oct 07 2011 - 21:27:41 UTC

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