3cd72ccb9c
which references my own old post from mid-2020 at which time I had problems building rust for earmv7hf "natively". That problem has long since been resolved. Not sure why powerpc got the same treatment -- with this removed this package builds fine with rust 1.56.0 on NetBSD/macppc 9.99.88.
27 lines
589 B
Makefile
27 lines
589 B
Makefile
# $NetBSD: available.mk,v 1.7 2021/10/29 06:55:10 he Exp $
|
|
#
|
|
# This mk fragment defines the LIBRSVG_TYPE variable used in other librsvg mk
|
|
# fragments.
|
|
#
|
|
# User-settable variables:
|
|
#
|
|
# LIBRSVG_TYPE
|
|
# Type of librsvg implementation used.
|
|
#
|
|
# Possible values: c rust
|
|
# Default: rust on platforms were Rust is supported
|
|
#
|
|
|
|
.if !defined(LIBRSVG_AVAILABLE_MK)
|
|
LIBRSVG_AVAILABLE_MK= defined
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "../../lang/rust/platform.mk"
|
|
.if !empty(PLATFORM_SUPPORTS_RUST:M[Yy][Ee][Ss])
|
|
LIBRSVG_TYPE?= rust
|
|
.else
|
|
LIBRSVG_TYPE?= c
|
|
.endif
|
|
|
|
.endif # LIBRSVG_AVAILABLE_MK
|