1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00

Don't use -ffast-math on alpha to work around an apparent compiler

bug.

Submitted by:	will
This commit is contained in:
Kris Kennaway 2003-01-15 07:17:22 +00:00
parent 7156223c4c
commit 832cd6f1c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73157
2 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,6 @@ MAKE_ENV= ${CONFIGURE_ENV}
.include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include "${.CURDIR}/../../x11/kde3/Makefile.kde"
# spurious, but i don't care
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
post-patch: post-patch:
@ -37,6 +36,9 @@ post-patch:
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \ @${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
.if ${MACHINE_ARCH} == "alpha"
@${PERL} -pi -e "s@-ffast-math@@g" ${WRKSRC}/kmidi/Makefile.in
.endif
post-install: post-install:
@${ECHO_MSG} @${ECHO_MSG}

View File

@ -27,7 +27,6 @@ MAKE_ENV= ${CONFIGURE_ENV}
.include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include "${.CURDIR}/../../x11/kde3/Makefile.kde"
# spurious, but i don't care
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
post-patch: post-patch:
@ -37,6 +36,9 @@ post-patch:
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \ @${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
.if ${MACHINE_ARCH} == "alpha"
@${PERL} -pi -e "s@-ffast-math@@g" ${WRKSRC}/kmidi/Makefile.in
.endif
post-install: post-install:
@${ECHO_MSG} @${ECHO_MSG}