diff options
author | thierry <thierry@FreeBSD.org> | 2005-06-07 19:59:56 +0000 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-06-07 19:59:56 +0000 |
commit | d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f (patch) | |
tree | 6962c20fecf53f941dbd6c06d22a2d4e487d9416 /science | |
parent | 7b692f78194d6fbbdfdf035b44c782256c8ded9e (diff) | |
download | FreeBSD-ports-d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f.zip FreeBSD-ports-d7a9bf7f6aada24ee8742b60bc2f132bd7b0388f.tar.gz |
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/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile index 9a1e6cf..fc14d1e 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> |