Date: Tue, 23 Jun 2020 07:08:04 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539959 - head/math/giacxcas Message-ID: <202006230708.05N7848J004230@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jun 23 07:08:03 2020 New Revision: 539959 URL: https://svnweb.freebsd.org/changeset/ports/539959 Log: 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 Modified: head/math/giacxcas/Makefile Modified: head/math/giacxcas/Makefile ============================================================================== --- head/math/giacxcas/Makefile Tue Jun 23 05:59:37 2020 (r539958) +++ head/math/giacxcas/Makefile Tue Jun 23 07:08:03 2020 (r539959) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006230708.05N7848J004230>