aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qmake
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-05-13 12:09:45 +0800
committermarcus <marcus@FreeBSD.org>2004-05-13 12:09:45 +0800
commit1268c2fecc11748203a0451fdf2d119c146347ef (patch)
treebf1212d6fac8f5270ed8f382b4eede8b6ceeb7a7 /devel/qmake
parent973e55db130fcbf6df93a4b88edddf5e024ece06 (diff)
downloadfreebsd-ports-gnome-1268c2fecc11748203a0451fdf2d119c146347ef.tar.gz
freebsd-ports-gnome-1268c2fecc11748203a0451fdf2d119c146347ef.tar.zst
freebsd-ports-gnome-1268c2fecc11748203a0451fdf2d119c146347ef.zip
Append -mieee to CXXFLAGS when building on Alpha to avoid a segmentation fault
when building Qt. This is being added for 4.10-RELEASE, and will be removed immediately after tagging pending a qmake update to 3.3.2. Submitted by: lofi Approved by: portmgr (implicit) re (scottl)
Diffstat (limited to 'devel/qmake')
-rw-r--r--devel/qmake/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index fca85c13fca6..ac17af8f473c 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -42,6 +42,12 @@ post-install:
${CP} -Rp '${WRKSRC:H}/doc/html' '${DOCSDIR}'
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH}=="alpha"
+CXXFLAGS+= -mieee
+.endif
+
post-patch:
@${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
@${REINPLACE_CMD} -e 's,-O2,${CXXFLAGS},' \
@@ -63,4 +69,4 @@ do-configure:
${LN} ${WRKSRC}/qconfig.h ${WRKSRC}/qmodules.h
${LN} -s . ${WRKDIR}/${DISTNAME}/src/tools/private
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>