aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-08-03 14:29:53 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-08-03 14:29:53 +0000
commitdfd3d060c72253c7f20afe12b276baae246333ec (patch)
treeeaff97c8e8f98dfd7dc1a888a72f883db5bed1fa /science
parentfc38cc2fa97ef1b64f0c4ea004dba2ef622b7902 (diff)
downloadports-dfd3d060c72253c7f20afe12b276baae246333ec.tar.gz
ports-dfd3d060c72253c7f20afe12b276baae246333ec.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/lamprop/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile
index fc14d1e4c6fd..be5629414dc7 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>