Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/samba/PKGBUILD
blob: 131948ae41d3de67d365b3563e2d1580840c1a34 (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
# disable CEPH support
makedepends=(${makedepends[@]//ceph-libs/})

eval "$(
  declare -f package_samba | \
    sed '
      /depends/ a \
      depends=(${depends[@]//ceph-libs/})
    '
)"

eval "$(
  declare -f build | \
    sed '
      s|./configure|./configure --disable-cephfs|
    '
)"

if test "$CARCH" == "i486"; then
  eval "$(
    declare -f build | \
      sed '
        s|./configure|LDFLAGS=-latomic ./configure|
      '
  )"
fi