aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-06-08 03:59:56 +0800
committerthierry <thierry@FreeBSD.org>2005-06-08 03:59:56 +0800
commitd7a9bf7f6aada24ee8742b60bc2f132bd7b0388f (patch)
tree6962c20fecf53f941dbd6c06d22a2d4e487d9416 /science
parent7b692f78194d6fbbdfdf035b44c782256c8ded9e (diff)
downloadfreebsd-ports-gnome-d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f.tar.gz
freebsd-ports-gnome-d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f.tar.zst
freebsd-ports-gnome-d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f.zip
Fix on ia64 by removing the -fno-unit-at-a-time flag.
Reported by: Kris via pointyhat Submitted by: maintainer
Diffstat (limited to 'science')
-rw-r--r--science/lamprop/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile
index 9a1e6cf2fd79..fc14d1e4c6fd 100644
--- a/science/lamprop/Makefile
+++ b/science/lamprop/Makefile
@@ -27,9 +27,14 @@ MAKE_ENV= NOPORTDOCS=yes
PORTDOCS= LICENSE README NEWS
.endif
+.include <bsd.port.pre.mk>
+
+REP= 's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||'
+.if ${ARCH} == "ia64"
+REP= 's|-pipe||; s|-fmerge-constants||; s|--fast-math||'
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e \
- 's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||' \
- ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e ${REP} ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>