summaryrefslogtreecommitdiff
path: root/extra/subversion/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-06 15:45:15 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-06 15:45:15 +0200
commit0af9aedcd977e42e2f2bda7957f9545d938f058d (patch)
tree35cd544c291f465ff7a51b1097fc8b944dc8e9ee /extra/subversion/PKGBUILD
parenta1206ef045144cb8ce3ba50e0fbf6989c1a79c6c (diff)
downloadpackages-0af9aedcd977e42e2f2bda7957f9545d938f058d.tar.xz
extra/subversion: temporary build patch for i486
Diffstat (limited to 'extra/subversion/PKGBUILD')
-rw-r--r--extra/subversion/PKGBUILD74
1 files changed, 74 insertions, 0 deletions
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
new file mode 100644
index 00000000..42f7e8e2
--- /dev/null
+++ b/extra/subversion/PKGBUILD
@@ -0,0 +1,74 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no Apache server integration
+ makedepends=(${makedepends[@]//apache/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@--with-apxs@@
+ s@--with-apache-libexecdir=/usr/lib/httpd/modules@@
+ '
+ )"
+
+ # no Java bindings
+ makedepends=(${makedepends[@]//java-environment<10/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@--enable-javahl@--disable-javahl@
+ s@--with-jdk=/usr/lib/jvm/default@@
+ /make/s/javahl//
+ '
+ )"
+ eval "$(
+ declare -f package | \
+ sed '
+ /make/s/install-javahl//
+ '
+ )"
+
+ # no Ruby bindings
+ makedepends=(${makedepends[@]//ruby/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@--with-ruby-sitedir=/usr/lib/ruby/vendor_ruby@@
+ /make/s/swig-rb//
+ '
+ )"
+ eval "$(
+ declare -f check | \
+ sed '
+ /make/s/check-swig-rb//
+ '
+ )"
+ eval "$(
+ declare -f package | \
+ sed '
+ /make/s/install-swig-rb//
+ '
+ )"
+
+ # no KDE gui
+ makedepends=(${makedepends[@]//kdelibs4support/})
+ makedepends=(${makedepends[@]//kwallet/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@--with-kwallet@@
+ '
+ )"
+
+ # no Gnome gui
+ makedepends=(${makedepends[@]//libgnome-keyring/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@--with-gnome-keyring@@
+ s@--with-jdk=/usr/lib/jvm/default@@
+ '
+ )"
+
+
+fi
+