science/dlib-cpp: Build shared library instead of static one.

PR:		250815
Submitted by:	yuri
This commit is contained in:
Gleb Popov 2020-11-03 08:03:19 +00:00
parent 5389e7759e
commit 21ebe03c3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553954
2 changed files with 7 additions and 2 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= dlib
DISTVERSION= 19.21
PORTREVISION= 1
CATEGORIES= science devel math
MASTER_SITES= http://dlib.net/files/
PKGNAMESUFFIX= -cpp
@ -15,14 +16,17 @@ LICENSE_FILE= ${WRKSRC}/dlib/LICENSE.txt
USES= cmake compiler:c++11-lang pkgconfig tar:bzip2
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
OPTIONS_DEFINE= X11 JPEG PNG GIF SQLITE BLASLAPACK PYTHON AVX
OPTIONS_DEFAULT= X11 JPEG PNG GIF SQLITE
BLASLAPACK_DESC= Use Blas and Lapack libraries from ports
AVX_DESC= Use AVX instructions if supported by CPU
PYTHON_DESC= Add dependency on science/py-dlib
X11_USES= xorg
X11_USE= xorg=x11
X11_USE= xorg=ice,sm,x11,xext
X11_CMAKE_OFF= -DDLIB_NO_GUI_SUPPORT=1
JPEG_USES= jpeg

View file

@ -1028,7 +1028,8 @@ lib/cmake/dlib/dlib-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/dlib/dlib.cmake
lib/cmake/dlib/dlibConfig.cmake
lib/cmake/dlib/dlibConfigVersion.cmake
lib/libdlib.a
lib/libdlib.so
lib/libdlib.so.19.21.0
libdata/pkgconfig/dlib-1.pc
@dir include/dlib/all
@dir include/dlib/appveyor