Bug 250815 - science/dlib-cpp: Change to shared library; Add missing USE_XORG
Summary: science/dlib-cpp: Change to shared library; Add missing USE_XORG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks: 250812
  Show dependency treegraph
 
Reported: 2020-11-02 17:54 UTC by Yuri Victorovich
Modified: 2020-11-03 08:51 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (arrowd)


Attachments
patch (1.22 KB, patch)
2020-11-02 17:54 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 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 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