diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-09-03 02:59:35 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-09-03 02:59:35 +0800 |
commit | 88fb3b798aebc21acae621f70e026910ff4f54b8 (patch) | |
tree | 8154dbedf89ed1835be4de2e377c1ddcb5dbedee /math | |
parent | 717334465a135f097f5a0b025465f639388b61cc (diff) | |
download | marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar.gz marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar.bz2 marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar.lz marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar.xz marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.tar.zst marcuscom-ports-88fb3b798aebc21acae621f70e026910ff4f54b8.zip |
Fix the build on 5.X by making sure malloc.h is no longer included.
Submitted by: Yasuda Keisuke <kysd@po.harenet.ne.jp>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2762 df743ca5-7f9a-e211-a948-0013205c9059
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 \ |