/[autoepatch]/trunk/patches/kde-autoconf/kde-autoconf.sh
Gentoo

Contents of /trunk/patches/kde-autoconf/kde-autoconf.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (show annotations) (download) (as text)
Mon Dec 18 21:45:07 2006 UTC (7 years, 10 months ago) by flameeyes
File MIME type: text/x-sh
File size: 529 byte(s)
Don't use xargs to start the grep command, the portable subset of find options allows -exec +, that does what we need. Also use egrep instead of fgrep.
1 # Copyright 2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 patch_targets() {
5 # If we are not using autoconf 2.6, just skip the patch for the sake of
6 # limiting the resulting patche
7 [[ $(WANT_AUTOCONF=2.5 autoconf --version | head -n 1) == autoconf*2.6* ]] \
8 || return 0
9
10 # Find the admindir, wherever it is.
11 find "${WORKDIR}" -path '*/admin/cvs.sh' -type f -exec egrep -L 'autoconf.*2.6.*' {} +
12 }
13
14 # This patch is always required
15 patch_required() {
16 return 0
17 }

  ViewVC Help
Powered by ViewVC 1.1.20