Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 04:21:15 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498528 - head/science/cp2k
Message-ID:  <201904100421.x3A4LF1R030825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Apr 10 04:21:15 2019
New Revision: 498528
URL: https://svnweb.freebsd.org/changeset/ports/498528

Log:
  science/cp2k: fix build with GCC-based architectures
  
  PR:		237147
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/science/cp2k/Makefile

Modified: head/science/cp2k/Makefile
==============================================================================
--- head/science/cp2k/Makefile	Wed Apr 10 04:18:57 2019	(r498527)
+++ head/science/cp2k/Makefile	Wed Apr 10 04:21:15 2019	(r498528)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904100421.x3A4LF1R030825>