diff options
-rw-r--r-- | x11-toolkits/qt4-gui/Makefile | 8 |
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> |