USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-mt --with-pythondir=${LOCALBASE} --prefix=${PREFIX}
OPTIONS= PYTHON "PYTHON scripts support" on
.if !defined(WITHOUT_PYTHON)
USE_PYTHON= -2.3
.endif
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} "Define WITHOUT_PYTHON to\
disable PYTHON scripts support."
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \