diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-03-11 17:42:42 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-03-11 17:42:42 +0100 |
commit | 146f8c8ba3bfe3428497e0ee2e7e1db58d481281 (patch) | |
tree | 2dbedb932150115f093e990017fae6c71f903367 /extra/librsvg | |
parent | 6de73e1920f4ab16e37602cace587a3d9084ed81 (diff) | |
download | packages-146f8c8ba3bfe3428497e0ee2e7e1db58d481281.tar.xz |
extra/librsvg: use rust and not rustup, doesn't segfault
Diffstat (limited to 'extra/librsvg')
-rw-r--r-- | extra/librsvg/PKGBUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD index 2915a4eb..833cc0bb 100644 --- a/extra/librsvg/PKGBUILD +++ b/extra/librsvg/PKGBUILD @@ -23,3 +23,16 @@ eval "$( s/make check/make check || true/ ' )" + +# use rust, not rustup, compiled rustc uses pentium3, non-SSE2 optimizations, +# no clue what we get with rustup! + +makedepends=(${makedepends[@]//rustup/}) +makedepends+=('rust') + +eval "$( + declare -f prepare | \ + sed ' + s/rustup/#rustup/ + ' +)" |