On Mon, 5 Jan 2015 11:13:32 -0700 (MST), Landry Breuil wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   lan...@cvs.openbsd.org  2015/01/05 11:13:32
> 
> Modified files:
>       x11/qt5        : Makefile 
> 
> Log message:
> Surprisingly, qt5 fails to build on powerpc, relocation overflow when
> linking libQt5WebKit. All hail our glorious binutils!
> 
> 

Thereifixedit.

(packages fine on macppc)

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/qt5/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    6 Jan 2015 21:32:41 -0000       1.13
+++ Makefile    8 Jan 2015 20:24:10 -0000
@@ -3,7 +3,6 @@
 SHARED_ONLY =          Yes
 ONLY_FOR_ARCHS =       ${GCC4_ARCHS}
 IGNORE-html =          qdoc segfaults
-BROKEN-powerpc =       relocation overflow when linking libQt5WebKit
 
 VERSION =              5.3.2
 DISTNAME =             qt-everywhere-opensource-src-${VERSION}
@@ -273,6 +272,9 @@ CONFIGURE_ENV =             MAKE=make \
                        MAKEFLAGS="-j ${MAKE_JOBS}" \
                        EXTRA_CPPFLAGS="-DLOCALBASE=\\\"${LOCALBASE}\\\"
-DX11BASE=\\\"${X11BASE}\\\""
 
+.if ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ENV += LDFLAGS="-Wl,--relax"
+.endif
 .include <bsd.port.arch.mk>
 
 # QtWebkit (at least, maybe others) plays dirty games with inter-target

Reply via email to