Index: Makefile =================================================================== --- Makefile (revision 530966) +++ Makefile (working copy) @@ -16,6 +16,15 @@ USES= python USE_PYTHON= autoplist concurrent distutils -NO_ARCH= yes +OPTIONS_DEFINE= YAJL +YAJL_DESC= Enable yajl2_c backend +YAJL_CFLAGS= -isystem${LOCALBASE}/include +YAJL_LDFLAGS= -L${LOCALBASE}/lib +YAJL_LIB_DEPENDS=libyajl.so:devel/yajl +YAJL_VARS_OFF= NO_ARCH=yes + +post-patch-YAJL-off: + @${REINPLACE_CMD} -e 's|if yajl_present()|if False|' ${WRKSRC}/setup.py + .include