aboutsummaryrefslogtreecommitdiff
path: root/devel/qt4-designer
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-07-23 10:32:29 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-07-23 10:32:29 +0000
commitcb66f3eb17013f06795baabb966a3d5b2a28a705 (patch)
treead31f161af28ab7fe8df318ee8a46ba036f6577c /devel/qt4-designer
parentcda5cfe6655bacc51a87ef6de49a713e73e849de (diff)
downloadports-cb66f3eb17013f06795baabb966a3d5b2a28a705.tar.gz
ports-cb66f3eb17013f06795baabb966a3d5b2a28a705.zip
Notes
Diffstat (limited to 'devel/qt4-designer')
-rw-r--r--devel/qt4-designer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/qt4-designer/Makefile b/devel/qt4-designer/Makefile
index 6a4d4815f671..6d52b17983b1 100644
--- a/devel/qt4-designer/Makefile
+++ b/devel/qt4-designer/Makefile
@@ -62,6 +62,10 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
post-configure:
+.if ${OSVERSION} < 700042 && ${ARCH} == "amd64"
+ ${REINPLACE_CMD} -E -e 's|CXXFLAGS[[:space:]]*=(.*)|CXXFLAGS=-fno-gcse\1|g' \
+ ${WRKSRC}/../../src/gui/Makefile
+.endif
${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
-e 's|.*$$(QMAKE).*||g' ${WRKSRC}/src/uitools/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \