# $NetBSD: Makefile,v 1.2 2020/12/15 09:49:59 nia Exp $ PKGNAME= deepstate-afl-${VERSION} USE_LANGUAGES= c99 c++ USE_CMAKE= yes AUTO_MKDIRS= yes TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools DEPENDS+= afl-[0-9]*:../../devel/afl DEPENDS+= deepstate>=${VERSION}:../../devel/deepstate CONFIGURE_DIRS= build CMAKE_ARG_PATH= ${WRKSRC} CMAKE_ARGS+= -DPYTHON=${PREFIX}/bin/python${PYVERSSUFFIX} CMAKE_ARGS+= -DDEEPSTATE_AFL=ON CMAKE_ARGS+= -DCMAKE_C_COMPILER=${PREFIX:Q}/bin/afl-gcc CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${PREFIX:Q}/bin/afl-g++ # setuptools PYTHON_VERSIONS_INCOMPATIBLE= 27 pre-configure: cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS} do-install: ${INSTALL_LIB} ${WRKSRC}/build/libdeepstate_AFL.a ${DESTDIR}${PREFIX}/lib .include "../../devel/deepstate/Makefile.common" .include "../../lang/python/pyversion.mk" .include "../../mk/bsd.pkg.mk"