Wed Jun 17 13:40:26 2020 UTC ()
Pullup ticket #6243 - requested by nia
graphics/librsvg: NetBSD/arm build fix

Revisions pulled up:
- graphics/librsvg/available.mk                                 1.2

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Jun 17 10:13:25 UTC 2020

   Modified Files:
   	pkgsrc/graphics/librsvg: available.mk

   Log Message:
   librsvg: Disable rust version on NetBSD/arm (32-bit)

   It doesn't have the address space to build a rust compiler so this
   is currently broken.


(bsiegert)
diff -r1.1 -r1.1.6.1 pkgsrc/graphics/librsvg/available.mk

cvs diff -r1.1 -r1.1.6.1 pkgsrc/graphics/librsvg/available.mk (expand / switch to unified diff)

--- pkgsrc/graphics/librsvg/available.mk 2019/06/08 19:51:38 1.1
+++ pkgsrc/graphics/librsvg/available.mk 2020/06/17 13:40:26 1.1.6.1
@@ -1,27 +1,29 @@ @@ -1,27 +1,29 @@
1# $NetBSD: available.mk,v 1.1 2019/06/08 19:51:38 leot Exp $ 1# $NetBSD: available.mk,v 1.1.6.1 2020/06/17 13:40:26 bsiegert Exp $
2# 2#
3# This mk fragment define LIBRSVG_TYPE variable used in other librsvg mk 3# This mk fragment define LIBRSVG_TYPE variable used in other librsvg mk
4# fragments. 4# fragments.
5# 5#
6# User-settable variables: 6# User-settable variables:
7# 7#
8# LIBRSVG_TYPE 8# LIBRSVG_TYPE
9# Type of used librsvg implementation. 9# Type of used librsvg implementation.
10# 10#
11# Possible values: c rust 11# Possible values: c rust
12# Default: rust on platforms were Rust is supported 12# Default: rust on platforms were Rust is supported
13# 13#
14 14
15.if !defined(LIBRSVG_AVAILABLE_MK) 15.if !defined(LIBRSVG_AVAILABLE_MK)
16LIBRSVG_AVAILABLE_MK= defined 16LIBRSVG_AVAILABLE_MK= defined
17 17
18.include "../../mk/bsd.prefs.mk" 18.include "../../mk/bsd.prefs.mk"
19 19
20.include "../../lang/rust/platform.mk" 20.include "../../lang/rust/platform.mk"
21.if !empty(PLATFORM_SUPPORTS_RUST:M[Yy][Ee][Ss]) 21# https://mail-index.netbsd.org/tech-pkg/2020/06/16/msg023380.html
 22.if !empty(PLATFORM_SUPPORTS_RUST:M[Yy][Ee][Ss]) && \
 23 empty(MACHINE_PLATFORM:MNetBSD-*-earm*)
22LIBRSVG_TYPE?= rust 24LIBRSVG_TYPE?= rust
23.else 25.else
24LIBRSVG_TYPE?= c 26LIBRSVG_TYPE?= c
25.endif 27.endif
26 28
27.endif # LIBRSVG_AVAILABLE_MK 29.endif # LIBRSVG_AVAILABLE_MK