pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtwebkit



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jun 13 06:53:01 UTC 2021

Modified Files:
        pkgsrc/x11/qt5-qtwebkit: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/x11/qt5-qtwebkit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt5-qtwebkit/Makefile
diff -u pkgsrc/x11/qt5-qtwebkit/Makefile:1.89 pkgsrc/x11/qt5-qtwebkit/Makefile:1.90
--- pkgsrc/x11/qt5-qtwebkit/Makefile:1.89       Mon May 24 19:56:05 2021
+++ pkgsrc/x11/qt5-qtwebkit/Makefile    Sun Jun 13 06:53:00 2021
@@ -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 @@ BUILDLINK_TRANSFORM+=        rpath:${WRKSRC}/li
 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