aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt4-gui
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-07-21 13:46:37 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-07-21 13:46:37 +0000
commite4cf5b355bb042530601c5186dc26345b6bb64b9 (patch)
treeba6275064e6e49920089fc6deddd74c266c6a9bc /x11-toolkits/qt4-gui
parent09ca18629f230b761983376070b5859daf38c265 (diff)
downloadports-e4cf5b355bb042530601c5186dc26345b6bb64b9.tar.gz
ports-e4cf5b355bb042530601c5186dc26345b6bb64b9.zip
Notes
Diffstat (limited to 'x11-toolkits/qt4-gui')
-rw-r--r--x11-toolkits/qt4-gui/Makefile6
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' \