Browse Source

science/fasthenry: use malloc instead of sbrk

Enable existing NO_SBRK option via CFLAGS
Brooks Davis 2 years ago
parent
commit
162f181fec
  1. 6
      science/fasthenry/Makefile

6
science/fasthenry/Makefile

@ -1,5 +1,6 @@
PORTNAME= fasthenry
DISTVERSION= 3.0wr-021113
PORTREVISION= 1
CATEGORIES= science cad
MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf
@ -7,15 +8,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Multipole-accelerated inductance analysis program
WWW= https://www.rle.mit.edu/cpg/research_codes.htm
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= config
WRKSRC= ${WRKDIR}/fasthenry-3.0wr
# Fix build with clang11
CFLAGS+= -fcommon
# Use malloc
CFLAGS+= -DNO_SBRK
OPTIONS_DEFINE= DOCS EXAMPLES

Loading…
Cancel
Save