Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/samba/PKGBUILD
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-09-10 20:52:00 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-09-10 20:52:00 +0300
commit0ae1e569034b1b5079a914b463321790f6bc3aeb (patch)
tree8d420006f09a696aa6625d6b94423f413c680c1d /extra/samba/PKGBUILD
parentf0887af84a020fd3a6416798ba7e9af025808dbf (diff)
extra/samba: Fix patching
Diffstat (limited to 'extra/samba/PKGBUILD')
-rw-r--r--extra/samba/PKGBUILD20
1 files changed, 3 insertions, 17 deletions
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index 131948ae..79f56e4d 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -1,20 +1,4 @@
-# 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|
- '
-)"
+# -- Arch32 specific --
if test "$CARCH" == "i486"; then
eval "$(
@@ -24,3 +8,5 @@ if test "$CARCH" == "i486"; then
'
)"
fi
+
+eval "$(declare -f package_ldb | sed 's@x86_64@i386@')"