pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtwebkit qt5-qtwebkit: force a MIPS -march of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a44aa813b089
branches:  trunk
changeset: 454533:a44aa813b089
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 13 06:53:00 2021 +0000

description:
qt5-qtwebkit: force a MIPS -march of at least MIPS32/MIPS64

diffstat:

 x11/qt5-qtwebkit/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r fa56d6e4b929 -r a44aa813b089 x11/qt5-qtwebkit/Makefile
--- a/x11/qt5-qtwebkit/Makefile Sun Jun 13 06:40:48 2021 +0000
+++ b/x11/qt5-qtwebkit/Makefile Sun Jun 13 06:53:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2021/05/24 19:56:05 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2021/06/13 06:53:00 nia Exp $
 
 QTWKVERSION=   5.212.0-alpha4
 DISTNAME=      qtwebkit-${QTWKVERSION}
@@ -77,6 +77,13 @@
 LDFLAGS+=      -Wl,--no-keep-memory
 .endif
 
+# JavaScriptCore requires at least MIPS32.
+.if !empty(MACHINE_ARCH:Mmips64*)
+CFLAGS+=       -march=mips64
+.elif !empty(MACHINE_ARCH:Mmips*)
+CFLAGS+=       -march=mips32
+.endif
+
 post-install:
 .for i in Qt5WebKit.pc Qt5WebKitWidgets.pc
        cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \



Home | Main Index | Thread Index | Old Index