blob: 8cf07207c0de3a5fdc7d63a01cd00cf66e475b02 (
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
|
# skip zenmap on i486 - we don't have pygtk there
makedepends=(${makedepends[@]/pygtk/})
_oifs="${IFS}"
IFS=$(printf '\n')
optdepends=(${optdepends[@]/pygtk:*/})
IFS="${_oifs}"
makedepends_i686=(pygtk)
makedepends_pentium4=(pygtk)
optdepends_i686=('pygtk: zenmap')
optdepends_pentium4=('pygtk: zenmap')
if [ "${CARCH}" = 'i486' ]; then
eval "$(
declare -f build | \
sed '
s,/configure ,\0--without-zenmap ,
'
declare -f package | \
sed '
/zenmap/d
'
)"
fi
|