diff options
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 |