pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/librsvg
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jun 1 13:55:31 UTC 2019
Modified Files:
pkgsrc/graphics/librsvg: buildlink3.mk
Log Message:
librsvg: use lang/rust/platform.mk
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/graphics/librsvg/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/librsvg/buildlink3.mk
diff -u pkgsrc/graphics/librsvg/buildlink3.mk:1.47 pkgsrc/graphics/librsvg/buildlink3.mk:1.48
--- pkgsrc/graphics/librsvg/buildlink3.mk:1.47 Wed May 29 12:38:23 2019
+++ pkgsrc/graphics/librsvg/buildlink3.mk Sat Jun 1 13:55:31 2019
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.47 2019/05/29 12:38:23 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.48 2019/06/01 13:55:31 wiz Exp $
BUILDLINK_TREE+= librsvg
@@ -10,21 +10,9 @@ BUILDLINK_ABI_DEPENDS.librsvg+= librsvg
.include "../../mk/bsd.fast.prefs.mk"
-# platforms where pkgsrc supports lang/rust
-.if (${MACHINE_ARCH} == "aarch64" \
- || ${MACHINE_ARCH} == "armv7" \
- || ${MACHINE_ARCH} == "i386" \
- || ${MACHINE_ARCH} == "powerpc" \
- || ${MACHINE_ARCH} == "sparc64" \
- || ${MACHINE_ARCH} == "x86_64") \
- && \
- (${OPSYS} == "Darwin" \
- || ${OPSYS} == "FreeBSD" \
- || ${OPSYS} == "Linux" \
- || ${OPSYS} == "NetBSD" \
- || ${OPSYS} == "SunOS")
-LIBRSVG_USE_RUST?= yes
-.endif
+# default to rust version on platforms where pkgsrc supports lang/rust
+.include "../../lang/rust/platform.mk"
+LIBRSVG_USE_RUST?= ${PLATFORM_SUPPORTS_RUST}
.if ${LIBRSVG_USE_RUST} == "yes"
BUILDLINK_PKGSRCDIR.librsvg?= ../../graphics/librsvg
Home |
Main Index |
Thread Index |
Old Index