summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt4-gui
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-10-02 18:40:10 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-10-02 18:40:10 +0000
commit79779434438a43ec9b7409dc4136d2d5276df44a (patch)
treeb673bef08614c39827fb3367997bbf56d76e1cd4 /x11-toolkits/qt4-gui
parent- Re-add PKGNAMEPREFIX for www/linux-f10-flashplugin11. [1] (diff)
- 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.
Notes
Notes: svn path=/head/; revision=369847
Diffstat (limited to 'x11-toolkits/qt4-gui')
-rw-r--r--x11-toolkits/qt4-gui/Makefile8
1 files changed, 2 insertions, 6 deletions
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>