blob: 0deeb3df4f766887539de1d2b311745e7728b96e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# remove dependency on Gnome's xml2po on i486 (needed for building the
# man pages, draws in far too many dependencies)
makedepends=(${makedepends[@]//gnome-doc-utils/})
makedepends_i686+=(gnome-doc-utils)
makedepends_pentium4=("${makedepends_i686[@]}")
# i486-specific
if [ "${CARCH}" = "i486" ]; then
# remove dependency on Gnome's xml2po (needed for building the man pages,
# draws in far too many dependencies)
eval "$(
declare -f prepare | \
sed '
/autoreconf/ i \ sed -i "/SUBDIRS/s/man//g" Makefile.am
'
)"
eval "$(
declare -f build | \
sed '
s/--enable-man/--disable-man/
'
)"
eval "$(
declare -f package | \
sed '
/find.*man/d
/rmdir.*man/d
'
)"
fi
|