summaryrefslogtreecommitdiffstats
path: root/science/lamprop
diff options
context:
space:
mode:
Diffstat (limited to 'science/lamprop')
-rw-r--r--science/lamprop/Makefile7
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>
OpenPOWER on IntegriCloud