From 79779434438a43ec9b7409dc4136d2d5276df44a Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Thu, 2 Oct 2014 18:40:10 +0000 Subject: - Use a new-style helper for the special powerpc64 CFLAGS setting. - Include only bsd.port.mk, the bsd.port.{pre,post}.mk combo is not needed here. --- x11-toolkits/qt4-gui/Makefile | 8 ++------ x11-toolkits/qt5-gui/Makefile | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile index 175b7c331b17..4be3bc145c9e 100644 --- a/x11-toolkits/qt4-gui/Makefile +++ b/x11-toolkits/qt4-gui/Makefile @@ -75,11 +75,7 @@ RUN_DEPENDS+= ${FONTSCALE}:${PORTSDIR}/x11-fonts/xorg-fonts-truetype \ ${FONTENCOD}:${PORTSDIR}/x11-fonts/encodings .endif -.include - -.if ${ARCH} == powerpc64 -CFLAGS+= -mminimal-toc -.endif +CFLAGS_powerpc64= -mminimal-toc pre-configure: ${MKDIR} ${WRKSRC}/mkspecs @@ -100,4 +96,4 @@ post-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/dialogs/images/qtlogo-64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/qtlogo.png -.include +.include diff --git a/x11-toolkits/qt5-gui/Makefile b/x11-toolkits/qt5-gui/Makefile index 52b5bb6317c2..d1f4cb7aaf4e 100644 --- a/x11-toolkits/qt5-gui/Makefile +++ b/x11-toolkits/qt5-gui/Makefile @@ -61,12 +61,8 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11 ${LOCALBASE}/lib/X11/fonts/TTF/luximb.ttf:${PORTSDIR}/x11-fonts/xorg-fonts-truetype .endif -.include - # Inherited from Qt 4. -.if ${ARCH} == powerpc64 -CFLAGS+= -mminimal-toc -.endif +CFLAGS_powerpc64= -mminimal-toc post-patch: @${REINPLACE_CMD} -e 's/-ldl/$$$$QMAKE_LIBS_DYNLOAD/' \ @@ -92,4 +88,4 @@ post-install: ${MAKE_ARGS} ${INSTALL_TARGET} .endfor -.include +.include -- cgit v1.2.3