blob: 70c489fe566247b79ee61c66b695522c08b17fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
patch_targets() {
# only apply for FreeBSD
[[ ${CHOST} == *-freebsd* ]] || return 0
# Find the configure scripts with a libtool that checks for freebsd
# versioning format, and that were not patched with our patch already
find "${WORKDIR}" -name configure -print0 | \
xargs -0 grep -Zl "version_type=freebsd-" | \
xargs -0 grep -L 'Handle Gentoo/FreeBSD as it was Linux'
}
|