Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 14:07:28 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310146 - head/www/qt4-webkit
Message-ID:  <201301091407.r09E7S7p099713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Wed Jan  9 14:07:28 2013
New Revision: 310146
URL: http://svnweb.freebsd.org/changeset/ports/310146

Log:
  - Add dependency on devel/binutils' ld(1) to fix build on PowerPC.
  
  PR:		173042
  Submitted by:	Justin Hibbits <jrh29@po.cwru.edu>

Modified:
  head/www/qt4-webkit/Makefile   (contents, props changed)

Modified: head/www/qt4-webkit/Makefile
==============================================================================
--- head/www/qt4-webkit/Makefile	Wed Jan  9 13:53:56 2013	(r310145)
+++ head/www/qt4-webkit/Makefile	Wed Jan  9 14:07:28 2013	(r310146)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	qt4-webkit
-# Date created:				Mon May 12 17:18:19 CEST 2008
-# Whom:					danny@ricin.com
-#
+# Created by: danny@ricin.com
 # $FreeBSD$
-#
 
 PORTNAME=	webkit
 DISTVERSION=	${QT4_VERSION}
@@ -48,6 +44,14 @@ CONFIGURE_ARGS+=	-I../../../../include/Q
 
 EXTRA_PATCHES=	${.CURDIR}/../../devel/qt4/files/patch-configure
 
+.include <bsd.port.pre.mk>
+
+# Base ld(1) segfaults on PowerPC:
+# http://bugs.freebsd.org/173042
+.if ${ARCH} == "powerpc"
+BUILD_DEPENDS+=	${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils
+.endif
+
 pre-configure:
 	${MKDIR} ${WRKSRC}/mkspecs
 	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
@@ -77,4 +81,4 @@ post-configure:
 		${WRKSRC}/lib/pkgconfig/QtWebKit.pc \
 		${WRKSRC}/lib/libQtWebKit.la
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301091407.r09E7S7p099713>