summaryrefslogtreecommitdiff
path: root/core/autoconf/PKGBUILD
blob: 320aba12df800ab9374a38994b6a5da4d650efbc (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
if [ "${pkgname}-${pkgver}-${pkgrel}" = autoconf-2.69-4 ]; then
  eval "$(
    declare -f check | \
      sed '
        /^\s*make check$/i  export PERL_USE_UNSAFE_INC=1
      '
  )"
fi

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # testing the go macros requires a running go actually
  checkdepends+=('gcc-go')

  # autoconf: 351 Go: https://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00000.html,
  # see FS#57870 (closed upstream)
  source+=('autoconf-2.69-go-test-351-OpenFile.patch')
  md5sums+=('a7e1e05d4372b2ef5fae29b59e677e7d')
  eval "$(
    declare -f prepare | \
      sed '
        /patch -p1.*libtool/ a \
        patch -Np1 -i "${srcdir}/autoconf-2.69-go-test-351-OpenFile.patch"
      '
  )"
fi