diff options
author | lofi <lofi@FreeBSD.org> | 2007-07-23 18:32:29 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-07-23 18:32:29 +0800 |
commit | 50d649b117121c296a43f55d51a0745a98e778dc (patch) | |
tree | 0dabd02703080b4c8435ef2fb8e0a3e21dbbf681 /devel/qt4-designer | |
parent | 918b826a4de5dc186f6c88fc65a85d8040dfc472 (diff) | |
download | freebsd-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/Makefile | 4 |
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' \ |