aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4-designer
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-07-23 18:32:29 +0800
committerlofi <lofi@FreeBSD.org>2007-07-23 18:32:29 +0800
commit50d649b117121c296a43f55d51a0745a98e778dc (patch)
tree0dabd02703080b4c8435ef2fb8e0a3e21dbbf681 /devel/qt4-designer
parent918b826a4de5dc186f6c88fc65a85d8040dfc472 (diff)
downloadfreebsd-ports-gnome-50d649b117121c296a43f55d51a0745a98e778dc.tar.gz
freebsd-ports-gnome-50d649b117121c296a43f55d51a0745a98e778dc.tar.zst
freebsd-ports-gnome-50d649b117121c296a43f55d51a0745a98e778dc.zip
(Attempt to) fix build on amd64
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' \