svn commit: r310146 - head/www/qt4-webkit

Alberto Villa avilla at FreeBSD.org
Wed Jan 9 14:07:29 UTC 2013


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 at 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 at ricin.com
-#
+# Created by: danny at 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>


More information about the svn-ports-all mailing list