science/fastcap: use malloc instead of sbrk
Enable existing NO_SBRK option via CFLAGS
This commit is contained in:
parent
1d254d4872
commit
edcb34baff
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= fastcap
|
||||
DISTVERSION= 2.0wr-011109
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science cad
|
||||
MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf
|
||||
|
||||
|
@ -12,15 +13,14 @@ LICENSE_NAME= fastcap license
|
|||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_PERMS= auto-accept
|
||||
|
||||
BROKEN_aarch64= Fails to link: missing sbrk
|
||||
BROKEN_riscv64= Fails to link: missing sbrk
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= config
|
||||
WRKSRC= ${WRKDIR}/fastcap-2.0wr
|
||||
|
||||
# Fix build with clang11
|
||||
CFLAGS+= -fcommon
|
||||
# Use malloc
|
||||
CFLAGS+= -DNO_SBRK
|
||||
|
||||
BINFILES= busgen capgen cubegen fastcap pipedgen pyragen
|
||||
|
||||
|
|
Loading…
Reference in a new issue