summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-15 07:17:22 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-15 07:17:22 +0000
commit832cd6f1c68f6758ad89d764aa8e3444fe40c7ad (patch)
tree65e01bcd1df51fae92a3e64e3d1b4b99bd8579c1 /multimedia
parentAdd missing @dirrm (diff)
Don't use -ffast-math on alpha to work around an apparent compiler
bug. Submitted by: will
Notes
Notes: svn path=/head/; revision=73157
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kdemultimedia3/Makefile4
-rw-r--r--multimedia/kdemultimedia4/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index 7c318a6e7a93..f3e4b4a5bb93 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -27,7 +27,6 @@ MAKE_ENV= ${CONFIGURE_ENV}
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-# spurious, but i don't care
.include <bsd.port.pre.mk>
post-patch:
@@ -37,6 +36,9 @@ post-patch:
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.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:
@${ECHO_MSG}
diff --git a/multimedia/kdemultimedia4/Makefile b/multimedia/kdemultimedia4/Makefile
index 7c318a6e7a93..f3e4b4a5bb93 100644
--- a/multimedia/kdemultimedia4/Makefile
+++ b/multimedia/kdemultimedia4/Makefile
@@ -27,7 +27,6 @@ MAKE_ENV= ${CONFIGURE_ENV}
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-# spurious, but i don't care
.include <bsd.port.pre.mk>
post-patch:
@@ -37,6 +36,9 @@ post-patch:
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.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:
@${ECHO_MSG}