diff options
author | avilla <avilla@FreeBSD.org> | 2013-01-09 22:07:28 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2013-01-09 22:07:28 +0800 |
commit | 6367a5370041ce50f95034f062338b5eb23e6b36 (patch) | |
tree | ea00b8c8bea9bd9383ce8ffac0e01457cd711c82 /www | |
parent | 34e9ee52e271e7926c57b6ffb61379a41a5d8f2b (diff) | |
download | freebsd-ports-gnome-6367a5370041ce50f95034f062338b5eb23e6b36.tar.gz freebsd-ports-gnome-6367a5370041ce50f95034f062338b5eb23e6b36.tar.zst freebsd-ports-gnome-6367a5370041ce50f95034f062338b5eb23e6b36.zip |
- Add dependency on devel/binutils' ld(1) to fix build on PowerPC.
PR: 173042
Submitted by: Justin Hibbits <jrh29@po.cwru.edu>
Diffstat (limited to 'www')
-rw-r--r-- | www/qt4-webkit/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/www/qt4-webkit/Makefile b/www/qt4-webkit/Makefile index 4ec7ead9f8b4..9d707b8018dc 100644 --- a/www/qt4-webkit/Makefile +++ b/www/qt4-webkit/Makefile @@ -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/Qt -I../../../../include 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> |