diff --git a/science/berkeleygw/Makefile b/science/berkeleygw/Makefile index 95d5d9d80906..c848a94d760e 100644 --- a/science/berkeleygw/Makefile +++ b/science/berkeleygw/Makefile @@ -1,47 +1,47 @@ PORTNAME= BerkeleyGW DISTVERSION= 3.0.1 CATEGORIES= science MASTER_SITES= https://berkeley.box.com/shared/static/ DISTFILES= m1dgnhiemo47lhxczrn6si71bwxoxor8.gz MAINTAINER= yuri@FreeBSD.org COMMENT= Scientific program aimed at the ab initio virtual experimentation LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libfftw3.so:math/fftw3 RUN_DEPENDS= bash:shells/bash USES= blaslapack:openblas gmake fortran python shebangfix SHEBANG_GLOB= *.sh *.py *awk BINARY_ALIAS= make=${GMAKE} gcc=${CC} MAKE_ARGS= FREEBSD_GCC_DEFAULT=${GCC_DEFAULT} FREEBSD_PREFIX=${PREFIX} INSTDIR=${STAGEDIR}${PREFIX} TEST_TARGET= check # 2 testcases fail: https://groups.google.com/a/berkeleygw.org/g/help/c/jVdxCAzM7A4 OPTIONS_DEFINE= EXAMPLES EXAMPLES_MAKE_ARGS= INSTALL_EXAMPLES=yes PORTEXAMPLES= * .include -.if ${ARCH} == i386 && ${GCC_DEFAULT} >= 10 -BROKEN= f951: internal compiler error: Segmentation fault +.if ${GCC_DEFAULT} >= 10 +BROKEN_i386= f951: internal compiler error: Segmentation fault .endif post-patch: @${LN} -s ${WRKSRC}/config/generic.serial.freebsd.mk ${WRKSRC}/arch.mk @${LN} -s ${WRKSRC}/flavor_real.mk ${WRKSRC}/flavor.mk @${FIND} ${WRKSRC} -name "script*" -o -name "*.scr" | ${XARGS} ${REINPLACE_CMD} -i '' 's|#! */bin/bash.*|#!/bin/sh|' post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*.x .include