math/giacxcas: Fix build on 13-CURRENT
giacxas expects mallinfo in malloc.h On systems before 13 the detection of malloc.h fails, but on 13 it succeeds but compilation then fails due to a missing mallinfo function. Reported by: thierry, fallout
This commit is contained in:
parent
dbb83a10f4
commit
78f9344ae6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539959
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ pre-configure:
|
|||
--prefix=${FLTKDEV-GIAC} \
|
||||
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}")
|
||||
|
||||
post-configure: # malloc.h on 13-CURRENT is missing mallinfo and compilation fails after it is discovered
|
||||
@${FIND} ${WRKSRC} -name config.h | ${XARGS} ${REINPLACE_CMD} -e 's|#define HAVE_MALLOC_H 1|/* #undef HAVE_MALLOC_H */|'
|
||||
|
||||
pre-build:
|
||||
@cd ${COCOALIB-GIAC} && ${DO_MAKE_BUILD} \
|
||||
CXXFLAGS_SPECIFIC="${CXXFLAGS}" library
|
||||
|
|
Loading…
Reference in a new issue