summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebkit
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2019-06-14 23:10:54 +0000
committergutteridge <gutteridge@pkgsrc.org>2019-06-14 23:10:54 +0000
commit459575a0a3bde430d5d62b2b19f55e2957d4acdf (patch)
tree95f935c955762ce2acc7ff4aa1c6a7b4380f4ec5 /x11/qt5-qtwebkit
parent65625e4718a9225fbe72c4e316fde51645fb84a1 (diff)
downloadpkgsrc-459575a0a3bde430d5d62b2b19f55e2957d4acdf.tar.gz
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.)
Diffstat (limited to 'x11/qt5-qtwebkit')
-rw-r--r--x11/qt5-qtwebkit/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/qt5-qtwebkit/Makefile b/x11/qt5-qtwebkit/Makefile
index c63a467b497..82d92fdc278 100644
--- a/x11/qt5-qtwebkit/Makefile
+++ b/x11/qt5-qtwebkit/Makefile
@@ -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}/lib:${QTDIR}/lib
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 && \