diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric2/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile index 5ad285550..0cb51032b 100644 --- a/math/gnumeric2/Makefile +++ b/math/gnumeric2/Makefile @@ -37,6 +37,14 @@ GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \ PLIST_SUB= VERSION=${PORTVERSION} post-patch: + @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \ + src/tools/solver/lp_solve/commonlib.h \ + src/tools/solver/lp_solve/fortify.c \ + src/tools/solver/lp_solve/lp_Hash.c \ + src/tools/solver/lp_solve/lp_etaPFI.c \ + src/tools/solver/lp_solve/lp_lib.h \ + src/tools/solver/lp_solve/lp_rlp.c \ + src/tools/solver/lp_solve/lp_rlpt.c @${FIND} ${WRKSRC}/plugins -name "plugin.xml.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|\.la|.so|g' @${FIND} ${WRKSRC}/src/cut-n-paste-code/goffice/graph/plugins -name \ |