mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
science/fasthenry: use malloc instead of sbrk
Enable existing NO_SBRK option via CFLAGS
This commit is contained in:
parent
edcb34baff
commit
162f181fec
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= fasthenry
|
PORTNAME= fasthenry
|
||||||
DISTVERSION= 3.0wr-021113
|
DISTVERSION= 3.0wr-021113
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= science cad
|
CATEGORIES= science cad
|
||||||
MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf
|
MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf
|
||||||
|
|
||||||
|
@ -7,15 +8,14 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Multipole-accelerated inductance analysis program
|
COMMENT= Multipole-accelerated inductance analysis program
|
||||||
WWW= https://www.rle.mit.edu/cpg/research_codes.htm
|
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
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_SCRIPT= config
|
CONFIGURE_SCRIPT= config
|
||||||
WRKSRC= ${WRKDIR}/fasthenry-3.0wr
|
WRKSRC= ${WRKDIR}/fasthenry-3.0wr
|
||||||
|
|
||||||
# Fix build with clang11
|
# Fix build with clang11
|
||||||
CFLAGS+= -fcommon
|
CFLAGS+= -fcommon
|
||||||
|
# Use malloc
|
||||||
|
CFLAGS+= -DNO_SBRK
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue