Thu Feb 19 14:26:21 2015 UTC ()
-reduce-relocations is only supported on x86.


(joerg)
diff -r1.16 -r1.17 pkgsrc/x11/qt5-qtbase/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/x11/qt5-qtbase/Makefile (expand / switch to context diff)
--- pkgsrc/x11/qt5-qtbase/Makefile 2015/01/01 21:05:13 1.16
+++ pkgsrc/x11/qt5-qtbase/Makefile 2015/02/19 14:26:21 1.17
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/01/01 21:05:13 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2015/02/19 14:26:21 joerg Exp $
 
 DISTNAME=	qtbase-opensource-src-${QTVERSION}
 PKGNAME=	qt5-qtbase-${QTVERSION}
@@ -41,7 +41,8 @@
 .if ${OPSYS} != "Darwin"
 CONFIGURE_ARGS+=	-iconv
 QMAKE_CONF=		qmake.conf
-.  if ${OPSYS} != "SunOS"
+.  if ${OPSYS} != "SunOS" && \
+      (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64))
 CONFIGURE_ARGS+=	-reduce-relocations
 .  endif
 .else