git: f1475a456c82 - main - biology/hhsuite: fix build on powerpc64*
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jul 8 13:15:31 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f1475a456c8257a759010ee0b949bde85ad6ad4f
commit f1475a456c8257a759010ee0b949bde85ad6ad4f
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-08 13:13:54 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-08 13:13:54 +0000
biology/hhsuite: fix build on powerpc64*
hhsuite now supports VSX.
---
biology/hhsuite/Makefile | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile
index 34aca8ae84ab..15225f220854 100644
--- a/biology/hhsuite/Makefile
+++ b/biology/hhsuite/Makefile
@@ -11,7 +11,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmpi.so:net/openmpi
-USES= cmake perl5 python shebangfix
+USES= compiler:c++11-lang cmake perl5 python shebangfix
SHEBANG_GLOB= *.pl *.py
USE_GITHUB= yes
GH_ACCOUNT= soedinglab
@@ -21,16 +21,10 @@ LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib
.include <bsd.port.options.mk>
-.if ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64
+.if ${ARCH} == amd64 || ${ARCH} == i386
CMAKE_ON= HAVE_SSE2
-.endif
-
-.if ${ARCH} == powerpc64
-USES+= compiler:gcc-c++11-lib
-post-patch:
- ${REINPLACE_CMD} -e 's/-msse -msse2/-D_ARCH_PWR8 -DNO_WARN_X86_INTRINSICS -maltivec -mpower8-vector -mvsx/g' ${WRKSRC}/src/CMakeLists.txt
-.else
-USES+= compiler:c++11-lang
+.elif ${ARCH:Mpowerpc64*}
+CMAKE_ON= HAVE_POWER8
.endif
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list