blob: 33cde232f8c293c1de9a2c84f7b860d1590c5483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
patch_targets() {
find "${WORKDIR}" -name config.guess -or -name config.sub
}
patch_required() {
return 0
}
patch_trigger_action() {
[[ -f "$1" ]] || return -1
local base_param=$(basename "$1")
cp "${PREFIX}/share/gnuconfig/${base_param}" "$1"
}
|