diff options
Diffstat (limited to 'science/py-dlib/Makefile')
-rw-r--r-- | science/py-dlib/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/science/py-dlib/Makefile b/science/py-dlib/Makefile index d32d7c528d13..18631607cec6 100644 --- a/science/py-dlib/Makefile +++ b/science/py-dlib/Makefile @@ -1,5 +1,6 @@ PORTNAME= dlib DISTVERSION= 20.0.0 +PORTREVISION= 1 CATEGORIES= science devel math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +16,8 @@ LIB_DEPENDS= ${PY_BOOST} \ libpng.so:graphics/png \ libgif.so:graphics/giflib -USES= cmake:indirect compiler:c++11-lang pkgconfig python shebangfix \ - sqlite xorg +USES= cmake:indirect compiler:c++11-lang jpeg pkgconfig python \ + shebangfix sqlite xorg USE_PYTHON= autoplist distutils USE_XORG= ice sm x11 xext SHEBANG_FILES= python_examples/*.py @@ -28,7 +29,10 @@ BLASLAPACK_DESC= Use OpenBLAS for matrix operations BLASLAPACK_USES= blaslapack:openblas BLASLAPACK_VARS_OFF= blaslapackargs="--no DLIB_USE_BLAS --no DLIB_USE_LAPACK" -PYDISTUTILS_BUILDARGS= --set BOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX} ${X11ARGS} ${JPEGARGS} ${PNGARGS} ${GIFARGS} ${SQLITEARGS} ${BLASLAPACKARGS} ${AVXARGS} ${BLASLAPACK} +PYDISTUTILS_BUILDARGS= --set BOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX} ${BLASLAPACKARGS} + +post-extract: + ${FIND} ${WRKSRC}/dlib/external -d 1 -not -name pybind11 -exec rm -rf {} + # due to a build system bug the code gets recompiled twice during "build" and "stage" do-build: |