diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-09 17:08:12 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-09 17:08:12 +0000 |
commit | 9e0e8d17a400657031581d099ae64e1ac9dd5760 (patch) | |
tree | 1a007ab17ca647747d08d6d95c9df5f927c08b00 /Mk/Uses/gnome.mk | |
parent | java/openjdk8: fix build on powerpc64 elfv1 (diff) |
Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
supporting rust
- this will fix some graphical issues on these architectures
PR: 250276
Exp-run by: antoine
Submitted by: tobik
Differential Revision: https://reviews.freebsd.org/D18878
Notes
Notes:
svn path=/head/; revision=554733
Diffstat (limited to '')
-rw-r--r-- | Mk/Uses/gnome.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk index 31366b1ff652..c1d10eacad4a 100644 --- a/Mk/Uses/gnome.mk +++ b/Mk/Uses/gnome.mk @@ -260,7 +260,16 @@ vte_USE_GNOME_IMPL= gtk20 vte3_LIB_DEPENDS= libvte-2.91.so:x11-toolkits/vte3 vte3_USE_GNOME_IMPL= gtk30 +# Use librsvg2-rust where lang/rust is available +.if empty(ARCH:Naarch64:Narmv6:Narmv7:Namd64:Ni386:Npowerpc64:Npowerpc64le) +librsvg2_BUILD_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust +librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2-rust +librsvg2_RUN_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust +.else +librsvg2_BUILD_DEPENDS= librsvg2>=0:graphics/librsvg2 librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 +librsvg2_RUN_DEPENDS= librsvg2>=0:graphics/librsvg2 +.endif librsvg2_USE_GNOME_IMPL=libgsf gdkpixbuf2 pango nautilus3_LIB_DEPENDS= libnautilus-extension.so:x11-fm/nautilus |