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:   gutteridge
Date:           Fri Jun 14 23:10:54 UTC 2019

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

Log Message:
qt5-qtwebkit: build fix for 32-bit x86

This now requires 64-bit atomic ops, handle accordingly. (XXX: as with
other packages, this will presumably also break on other architectures
as a result, e.g. macppc.)


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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.61 pkgsrc/x11/qt5-qtwebkit/Makefile:1.62
--- pkgsrc/x11/qt5-qtwebkit/Makefile:1.61       Thu Apr 25 07:33:32 2019
+++ pkgsrc/x11/qt5-qtwebkit/Makefile    Fri Jun 14 23:10:54 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2019/04/25 07:33:32 maya Exp $
+# $NetBSD: Makefile,v 1.62 2019/06/14 23:10:54 gutteridge Exp $
 
 DISTNAME=      qtwebkit-${QTWKVERSION}
 PKGNAME=       qt5-qtwebkit-${QTWKVERSION:S/-/./}
@@ -87,6 +87,11 @@ BUILDLINK_TRANSFORM+=        rpath:${WRKSRC}/li
 LDFLAGS+=      -Wl,-no-keep-memory -Wl-reduce-memory
 .endif
 
+# 64-bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=     -march=i586
+.endif
+
 post-install:
 .for i in Qt5WebKit.pc Qt5WebKitWidgets.pc
        cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \



Home | Main Index | Thread Index | Old Index