pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/librsvg librsvg: apply band-aid for build bre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c61089a55fd2
branches: trunk
changeset: 458917:c61089a55fd2
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Sep 24 05:47:00 2021 +0000
description:
librsvg: apply band-aid for build breakage with rust-1.54.0 on aarch64
Tested on NetBSD/aarch64 and macOS/aarch64
diffstat:
graphics/librsvg/Makefile | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r b1e9a1233e42 -r c61089a55fd2 graphics/librsvg/Makefile
--- a/graphics/librsvg/Makefile Fri Sep 24 02:27:36 2021 +0000
+++ b/graphics/librsvg/Makefile Fri Sep 24 05:47:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.133 2021/08/20 02:54:51 gutteridge Exp $
+# $NetBSD: Makefile,v 1.134 2021/09/24 05:47:00 tnn Exp $
DISTNAME= librsvg-2.50.7
CATEGORIES= graphics gnome
@@ -26,6 +26,20 @@
.include "cargo-depends.mk"
+.include "../../mk/bsd.prefs.mk"
+
+# librsvg broken with rustc-1.54.0. Temp fix for pkgsrc freeze.
+.if \
+ !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || \
+ !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+RUSTFLAGS+= -C target-feature=-lse
+PKG_LIBTOOL= ${WRKDIR}/libtool
+pre-configure:
+ sed 's,$$AR t "$$f_ex_an_ar_oldlib",& | grep -v lse.o,' \
+ < ${PREFIX}/bin/libtool > ${WRKDIR}/libtool
+ chmod +x ${WRKDIR}/libtool
+.endif
+
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.50.0
Home |
Main Index |
Thread Index |
Old Index