aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt4-gui
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-07-09 16:24:55 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-07-09 16:24:55 +0000
commit49bbb6792c03a43e09cf203fef8f1a96312e1225 (patch)
tree341075594f99970af6789137026d1a1def6cf8ea /x11-toolkits/qt4-gui
parentce12ea1c270c231ca7419df2474dcd4ebc5399e3 (diff)
downloadports-49bbb6792c03a43e09cf203fef8f1a96312e1225.tar.gz
ports-49bbb6792c03a43e09cf203fef8f1a96312e1225.zip
Notes
Diffstat (limited to 'x11-toolkits/qt4-gui')
-rw-r--r--x11-toolkits/qt4-gui/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile
index 057936b982ad..25ce7d69204b 100644
--- a/x11-toolkits/qt4-gui/Makefile
+++ b/x11-toolkits/qt4-gui/Makefile
@@ -84,6 +84,12 @@ RUN_DEPENDS+= ${FONTSCALE}:${X_FONTS_TTF_PORT} \
${FONTENCOD}:${X_FONTS_ENCODINGS_PORT}
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == powerpc64
+CFLAGS+= -mminimal-toc
+.endif
+
pre-configure:
${MKDIR} ${WRKSRC}/mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
@@ -99,4 +105,4 @@ post-configure:
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
${WRKSRC}/lib/pkgconfig/QtGui.pc
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>