diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-07 19:59:56 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-07 19:59:56 +0000 |
commit | 8e07c91a4ea29783949d9c52eed666bcad1b3108 (patch) | |
tree | 13e213481b8f6af8c32b638c9097a0fec9df24ed /science/lamprop | |
parent | 757a9b222fa9f3e4853c58aeb9e9e1c7d1fe88f7 (diff) | |
download | ports-8e07c91a4ea29783949d9c52eed666bcad1b3108.tar.gz ports-8e07c91a4ea29783949d9c52eed666bcad1b3108.zip |
Fix on ia64 by removing the -fno-unit-at-a-time flag.
Reported by: Kris via pointyhat
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=137007
Diffstat (limited to 'science/lamprop')
-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 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> |