aboutsummaryrefslogtreecommitdiff
path: root/science/cp2k
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-04-10 04:21:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-04-10 04:21:15 +0000
commitaaeb9d98497de15a30fefe0295705627fa7ea30b (patch)
tree279ba2e16bc0c38e56d9d8cae97c1b93751cdf63 /science/cp2k
parent4fba30835ac2ee8d2f6a1000556cd927926fd8bb (diff)
downloadports-aaeb9d98497de15a30fefe0295705627fa7ea30b.tar.gz
ports-aaeb9d98497de15a30fefe0295705627fa7ea30b.zip
science/cp2k: fix build with GCC-based architectures
PR: 237147 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
Notes
Notes: svn path=/head/; revision=498528
Diffstat (limited to 'science/cp2k')
-rw-r--r--science/cp2k/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/science/cp2k/Makefile b/science/cp2k/Makefile
index 647319260b39..9a76ed905841 100644
--- a/science/cp2k/Makefile
+++ b/science/cp2k/Makefile
@@ -73,7 +73,7 @@ pre-configure:
.endif
post-patch:
- @${REINPLACE_CMD} 's|LIBS.*=.*|& ${LDFLAGS}|; s|^FCFLAGS.*=.*|& -I${LOCALBASE}/include|' ${WRKSRC}/arch/FreeBSD-*
+ @${REINPLACE_CMD} 's|LIBS.*=.*|& ${LDFLAGS}|; s|^FCFLAGS.*=.*|& -I${LOCALBASE}/include|; s| -march=native||' ${WRKSRC}/arch/FreeBSD-*
pre-build:
@${MKDIR} ${BUILD_WRKSRC}