diff options
author | thierry <thierry@FreeBSD.org> | 2005-08-03 14:29:53 +0000 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-08-03 14:29:53 +0000 |
commit | 4fc03d3245bd4aac1434f673bfc159a9f21dd515 (patch) | |
tree | 6e24f2b821af453b994298563cd34b7cd5029630 /science | |
parent | bc43e934437df002589646d2310d022f06640b41 (diff) | |
download | FreeBSD-ports-4fc03d3245bd4aac1434f673bfc159a9f21dd515.zip FreeBSD-ports-4fc03d3245bd4aac1434f673bfc159a9f21dd515.tar.gz |
Unbreak on 6.0: gcc has problem with variable-length automatic arrays,
-O2 and -fno-unit-at-a-time.
Submitted by: Roland Smith (maintainer)
Reported by: krion via pointyhat
Approved by: portmgr (krion)
Diffstat (limited to 'science')
-rw-r--r-- | science/lamprop/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile index fc14d1e..be56294 100644 --- a/science/lamprop/Makefile +++ b/science/lamprop/Makefile @@ -29,12 +29,15 @@ PORTDOCS= LICENSE README NEWS .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||' +.if ${OSVERSION} < 500000 +REP2+= 's|-fno-unit-at-a-time||;' .endif post-patch: @${REINPLACE_CMD} -e ${REP} ${WRKSRC}/Makefile +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e ${REP2} ${WRKSRC}/Makefile +.endif .include <bsd.port.post.mk> |