From owner-svn-ports-all@freebsd.org Tue Nov 3 08:03:20 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3F3744FB52; Tue, 3 Nov 2020 08:03:20 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQMjN5KKKz4kWh; Tue, 3 Nov 2020 08:03:20 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B639177BA; Tue, 3 Nov 2020 08:03:20 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A383Kdf094781; Tue, 3 Nov 2020 08:03:20 GMT (envelope-from arrowd@FreeBSD.org) Received: (from arrowd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A383Kc8094780; Tue, 3 Nov 2020 08:03:20 GMT (envelope-from arrowd@FreeBSD.org) Message-Id: <202011030803.0A383Kc8094780@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arrowd set sender to arrowd@FreeBSD.org using -f From: Gleb Popov Date: Tue, 3 Nov 2020 08:03:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553954 - head/science/dlib-cpp X-SVN-Group: ports-head X-SVN-Commit-Author: arrowd X-SVN-Commit-Paths: head/science/dlib-cpp X-SVN-Commit-Revision: 553954 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 08:03:20 -0000 Author: arrowd Date: Tue Nov 3 08:03:19 2020 New Revision: 553954 URL: https://svnweb.freebsd.org/changeset/ports/553954 Log: science/dlib-cpp: Build shared library instead of static one. PR: 250815 Submitted by: yuri Modified: head/science/dlib-cpp/Makefile head/science/dlib-cpp/pkg-plist Modified: head/science/dlib-cpp/Makefile ============================================================================== --- head/science/dlib-cpp/Makefile Tue Nov 3 07:54:46 2020 (r553953) +++ head/science/dlib-cpp/Makefile Tue Nov 3 08:03:19 2020 (r553954) @@ -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 Modified: head/science/dlib-cpp/pkg-plist ============================================================================== --- head/science/dlib-cpp/pkg-plist Tue Nov 3 07:54:46 2020 (r553953) +++ head/science/dlib-cpp/pkg-plist Tue Nov 3 08:03:19 2020 (r553954) @@ -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