diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-07-21 13:46:37 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-07-21 13:46:37 +0000 |
commit | e4cf5b355bb042530601c5186dc26345b6bb64b9 (patch) | |
tree | ba6275064e6e49920089fc6deddd74c266c6a9bc /x11-toolkits | |
parent | - Update to 0.1.2 (diff) |
Fix build on amd64.
PR: ports/114734
Notes
Notes:
svn path=/head/; revision=195986
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qt4-gui/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile index 393fd5006cb4..b3a167e7b970 100644 --- a/x11-toolkits/qt4-gui/Makefile +++ b/x11-toolkits/qt4-gui/Makefile @@ -8,7 +8,7 @@ PORTNAME= gui PORTVERSION= ${QT4_VERSION} -PORTREVISION=0 +PORTREVISION= 1 CATEGORIES?= x11-toolkits MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- @@ -82,6 +82,10 @@ pre-configure: ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/../../bin/uic post-configure: +.if ${OSVERSION} < 700042 && ${ARCH} == "amd64" + ${REINPLACE_CMD} -E -e 's|CXXFLAGS[[:space:]]*=(.*)|CXXFLAGS=-fno-gcse\1|g' \ + ${WRKSRC}/Makefile +.endif ${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ -e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' ${WRKSRC}/Makefile ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ |