From 3534a6336df796b93fe2f7bf54a55ec5f3c20711 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Aug 2018 12:15:59 +0000 Subject: core/links: added i486-specific patch --- core/links/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 core/links/PKGBUILD (limited to 'core/links/PKGBUILD') diff --git a/core/links/PKGBUILD b/core/links/PKGBUILD new file mode 100644 index 00000000..5e8edb58 --- /dev/null +++ b/core/links/PKGBUILD @@ -0,0 +1,17 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # no X11 or graphic libraries + makedepends=(${makedepends[@]//libtiff/}) + makedepends=(${makedepends[@]//libpng/}) + makedepends=(${makedepends[@]//libxt/}) + makedepends=(${makedepends[@]//librsvg/}) + + # disable xlinks (or rather, compile it the same way as links) + eval "$( + declare -f build | \ + sed ' + s/--enable-graphics --with-x --with-fb/--disable-graphics --without-x --without-fb/ + ' + )" +fi + -- cgit v1.2.3-70-g09d2