mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
science/dlib-cpp: Build shared library instead of static one.
PR: 250815 Submitted by: yuri
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user