--- devel/json-c/Makefile (revision 548865) +++ devel/json-c/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= json-c PORTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/ \ LOCAL/sunpoet @@ -22,6 +23,11 @@ CPE_VENDOR= json-c_project +# Avoid use of newlocale(3) that results in increasing memory usage +post-configure: + ${REINPLACE_CMD} -e 's|.*HAVE_USELOCALE|// &|' \ + ${CONFIGURE_WRKSRC}/config.h + post-install: ${INSTALL_DATA} ${WRKSRC}/json_object_private.h ${STAGEDIR}${PREFIX}/include/json-c/