diff options
-rw-r--r-- | math/scilab-toolbox-swt/Makefile | 3 | ||||
-rw-r--r-- | math/scilab-toolbox-swt/pkg-plist | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/math/scilab-toolbox-swt/Makefile b/math/scilab-toolbox-swt/Makefile index 3156579ece54..2afc12e0d849 100644 --- a/math/scilab-toolbox-swt/Makefile +++ b/math/scilab-toolbox-swt/Makefile @@ -2,6 +2,7 @@ PORTNAME= swt PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://atoms.scilab.org/toolboxes/swt/${PORTVERSION}/files/ PKGNAMEPREFIX= scilab-toolbox- @@ -48,6 +49,8 @@ post-patch: .if !${PORT_OPTIONS:MHELP} ${REINPLACE_CMD} -e '/tbx_builder_help/d' ${WRKSRC}/builder.sce .endif + ${REINPLACE_CMD} '/#include "MALLOC.h"/d' \ + ${WRKSRC}/sci_gateway/c/swt_common.h ${ECHO_CMD} quit >> ${WRKSRC}/builder.sce pre-build: diff --git a/math/scilab-toolbox-swt/pkg-plist b/math/scilab-toolbox-swt/pkg-plist index fc306478476f..aef31701d437 100644 --- a/math/scilab-toolbox-swt/pkg-plist +++ b/math/scilab-toolbox-swt/pkg-plist @@ -117,7 +117,6 @@ %%TOOLBOXDIR%%/macros/lib %%TOOLBOXDIR%%/macros/meyer.bin %%TOOLBOXDIR%%/macros/meyer.sci -%%TOOLBOXDIR%%/macros/names %%TOOLBOXDIR%%/macros/ndwt.bin %%TOOLBOXDIR%%/macros/ndwt.sci %%TOOLBOXDIR%%/macros/ndwt2.bin |