Page MenuHomeFreeBSD

D21160.diff
No OneTemporary

D21160.diff

Index: head/biology/hhsuite/Makefile
===================================================================
--- head/biology/hhsuite/Makefile
+++ head/biology/hhsuite/Makefile
@@ -16,7 +16,7 @@
LIB_DEPENDS= libomp.so:devel/openmp
RUN_DEPENDS= openmpi>0:net/openmpi
-USES= cmake perl5 python shebangfix
+USES= cmake compiler:c++11-lang perl5 python shebangfix
SHEBANG_GLOB= *.pl *.py
USE_GITHUB= yes
GH_ACCOUNT= soedinglab
@@ -26,8 +26,13 @@
.include <bsd.port.options.mk>
-.if ${ARCH} == amd64 || ${ARCH} == i386
+.if ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64
CMAKE_ON= HAVE_SSE2
+.endif
+
+.if ${ARCH} == powerpc64
+post-patch:
+ ${REINPLACE_CMD} -e 's/-msse -msse2/-D_ARCH_PWR8 -DNO_WARN_X86_INTRINSICS -maltivec -mpower8-vector -mvsx/g' ${WRKSRC}/src/CMakeLists.txt
.endif
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 16, 7:39 AM (3 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29760360
Default Alt Text
D21160.diff (833 B)

Event Timeline