Bug 250815

Summary: science/dlib-cpp: Change to shared library; Add missing USE_XORG
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (arrowd)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 250812    
Attachments:
Description Flags
patch none

Description Yuri Victorovich freebsd_committer freebsd_triage 2020-11-02 17:54:32 UTC
Created attachment 219309 [details]
patch

The static library is built w/out -fPIC and prevents the update of math/openturns to 1.16rc1. See the error message in https://github.com/openturns/openturns/issues/1652#issue-734688473

Additionally, shared libraries make it easier to track dependencies. For example, USE_XORG were missing and this became apparent only through the shared library.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-11-03 08:03:39 UTC
A commit references this bug:

Author: arrowd
Date: Tue Nov  3 08:03:20 UTC 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

Changes:
  head/science/dlib-cpp/Makefile
  head/science/dlib-cpp/pkg-plist