diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-20 19:02:42 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-20 19:02:42 +0000 |
commit | 9578fbc72faa0c2182644342d61c2acb7e6db4f0 (patch) | |
tree | 66511e394590cfd9049140d66781f669270faac7 /Mk/Uses | |
parent | ba7fec74015f9bd40279f7d6396352d6bde94d40 (diff) | |
download | ports-9578fbc72faa0c2182644342d61c2acb7e6db4f0.tar.gz ports-9578fbc72faa0c2182644342d61c2acb7e6db4f0.zip |
Add new default-version variant for librsvg2
New default version for librsvg2.
Current versions of graphics/librsvg2 are using parts written in rust.
For architectures that do not have support for rust, and for people
who prefer not to have, or are not able to compile rust software due
to hardware limitations, the version can be chosen via this new flag.
The default on almost all architectures is rust.
If you prefer no to use rust, add the following to your make.conf:
DEFAULT_VERSIONS+=librsvg2=legacy
This makes the change committed in r554733 a bit more flexible for people
who are opposed to oxidation.
PR: 251014
Exp-run by: antoine
Notes
Notes:
svn path=/head/; revision=555776
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/gnome.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk index c1d10eacad4a..cbb8c46b32e7 100644 --- a/Mk/Uses/gnome.mk +++ b/Mk/Uses/gnome.mk @@ -261,7 +261,7 @@ 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) +.if ${LIBRSVG2_DEFAULT:Mrust} 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 |