svn commit: r493676 - head/graphics/librsvg2-rust
Tobias Kortkamp
tobik at FreeBSD.org
Sat Feb 23 14:19:42 UTC 2019
Author: tobik
Date: Sat Feb 23 14:19:40 2019
New Revision: 493676
URL: https://svnweb.freebsd.org/changeset/ports/493676
Log:
graphics/librsvg2-rust: Update libc crate to 0.2.49
This should give it a chance to build on aarch64, armv*, powerpc64.
Modified:
head/graphics/librsvg2-rust/Makefile
head/graphics/librsvg2-rust/distinfo
Modified: head/graphics/librsvg2-rust/Makefile
==============================================================================
--- head/graphics/librsvg2-rust/Makefile Sat Feb 23 14:18:13 2019 (r493675)
+++ head/graphics/librsvg2-rust/Makefile Sat Feb 23 14:19:40 2019 (r493676)
@@ -3,10 +3,13 @@
PORTNAME= librsvg
PORTVERSION= 2.45.5
+PORTREVISION= 1
CATEGORIES= graphics gnome
-MASTER_SITES= GNOME
+MASTER_SITES= GNOME \
+ CRATESIO/libc/0.2.49:libc
PKGNAMESUFFIX= 2-rust
-DIST_SUBDIR= gnome2
+DISTFILES= gnome2/${DISTNAME}${EXTRACT_SUFX} \
+ rust/crates/libc-0.2.49.tar.gz:libc
MAINTAINER= tobik at FreeBSD.org
COMMENT= Library for parsing and rendering SVG vector-graphic files
@@ -44,5 +47,12 @@ post-patch:
# Disable vendor checksums
@${REINPLACE_CMD} -e 's/"files":{[^}]*}/"files":{}/' \
${WRKSRC}/vendor/*/.cargo-checksum.json
+# Replace vendored libc crate with libc-0.2.49 for tier 2 arch support
+ ${RM} -r ${WRKSRC}/vendor/libc
+ ${MV} ${WRKDIR}/libc-0.2.49 ${WRKSRC}/vendor/libc
+ @${ECHO_CMD} '{"files":{}}' > ${WRKSRC}/vendor/libc/.cargo-checksum.json
+
+pre-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cargo update
.include <bsd.port.mk>
Modified: head/graphics/librsvg2-rust/distinfo
==============================================================================
--- head/graphics/librsvg2-rust/distinfo Sat Feb 23 14:18:13 2019 (r493675)
+++ head/graphics/librsvg2-rust/distinfo Sat Feb 23 14:19:40 2019 (r493676)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1550406514
+TIMESTAMP = 1550930141
SHA256 (gnome2/librsvg-2.45.5.tar.xz) = 600872dc608fe5e01bfd8d5b3046d01b53b99121bc5ab9663531b53630843700
SIZE (gnome2/librsvg-2.45.5.tar.xz) = 13485044
+SHA256 (rust/crates/libc-0.2.49.tar.gz) = 413f3dfc802c5dc91dc570b05125b6cda9855edfaa9825c9849807876376e70e
+SIZE (rust/crates/libc-0.2.49.tar.gz) = 375486
More information about the svn-ports-head
mailing list