diff options
author | rafan <rafan@FreeBSD.org> | 2007-06-10 16:02:56 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-06-10 16:02:56 +0800 |
commit | 39743f6649d780926ce2a1fa21b8f56636c5b94d (patch) | |
tree | 239dde1d8da9a7ce8d14cf299c71e9c04935e0ad /devel/swig20 | |
parent | 6fca35e5c9e6a100d5bd27a30cac077d7b281e42 (diff) | |
download | freebsd-ports-gnome-39743f6649d780926ce2a1fa21b8f56636c5b94d.tar.gz freebsd-ports-gnome-39743f6649d780926ce2a1fa21b8f56636c5b94d.tar.zst freebsd-ports-gnome-39743f6649d780926ce2a1fa21b8f56636c5b94d.zip |
- Fix LUA interface by replacing malloc.h to stdlib.h
PR: ports/113513
Submitted by: Scot Hetzel <swhetzel at gmail.com>
Diffstat (limited to 'devel/swig20')
-rw-r--r-- | devel/swig20/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile index 17665243aa15..288a5e489368 100644 --- a/devel/swig20/Makefile +++ b/devel/swig20/Makefile @@ -7,6 +7,7 @@ PORTNAME= swig PORTVERSION= 1.3.31 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -32,6 +33,8 @@ PLIST_SUB+= VER="${VER}" post-patch: ${REINPLACE_CMD} -e 's/SKIP_CHICKEN=$$/&"1"/' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|$$RUBY |${RUBY} |' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ + ${WRKSRC}/Lib/lua/luarun.swg post-configure: ${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile |