Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils
In directory vz-cvs-3.sog:/tmp/cvs-serv20460/utils
Modified Files:
patch.info
Log Message:
Fix hidden dependency on GNU sed
Index: patch.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/patch.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- patch.info 16 Sep 2011 07:54:51 -0000 1.6
+++ patch.info 16 Sep 2011 12:58:51 -0000 1.7
@@ -16,7 +16,7 @@
Package: patch
Version: 2.6.1
-Revision: 1
+Revision: 2
Maintainer: Max Horn <[email protected]>
BuildDepends: fink (>= 0.24.12-1)
Source: gnu
@@ -29,21 +29,21 @@
sed -i.orig -e '/^\.c/i\
.SUFFIXES: .c .$(OBJEXT)' Makefile.in
# bunch of tests require coreutils versions of commands
- for f in `grep -lr seq tests/`
- do sed -i.orig -e 's|\<seq\>|gseq|' $f
+ for f in `fgrep -lr 'seq ' tests/`
+ do sed -i.orig -e 's|seq |gseq |' $f
done
- for f in `grep -lr -e 'cat -A' tests/`
- do sed -i.orig -e 's|\<cat\>|gcat|' $f
+ for f in `fgrep -lr -e 'cat -A' tests/`
+ do sed -i.orig -e 's|cat -A|gcat -A|' $f
done
- for f in `grep -lr 'date' tests/`
- do sed -i.orig -e 's|\<date\>|gdate|' $f
+ for f in `fgrep -lr 'date ' tests/`
+ do sed -i.orig -e 's|date |gdate |' $f
done
- for f in `grep -lr -e 'touch -d' tests/`
- do sed -i.orig -e 's|\<touch\>|gtouch|' $f
+ for f in `fgrep -lr -e 'touch -d' tests/`
+ do sed -i.orig -e 's|touch -d|gtouch -d|' $f
done
<<
InfoTest: <<
- TestDepends: coreutils
+ TestDepends: coreutils, sed
TestScript: make -k check || exit 2
<<
InstallScript: make install prefix=%i mandir=%i/share/man
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs