Bug 245560 - [PATCH] devel/boost-python-libs: allow to install .cmake configs
Summary: [PATCH] devel/boost-python-libs: allow to install .cmake configs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: FreeBSD Office Team
URL:
Keywords: buildisok
Depends on:
Blocks: 244675
  Show dependency treegraph
 
Reported: 2020-04-12 09:31 UTC by Dima Panov
Modified: 2020-04-27 17:30 UTC (History)
1 user (show)

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


Attachments
install .cmake configs (2.95 KB, patch)
2020-04-12 09:31 UTC, Dima Panov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Panov freebsd_committer freebsd_triage 2020-04-12 09:31:48 UTC
Created attachment 213321 [details]
install .cmake configs

Houston, we have a problem!

Currently devel/boost-python-libs install only libraries itself, and skipped to install lib/cmake/boost_numpy-%%BOOST_SHARED_LIB_VER%%/*.cmake and lib/cmake/boost_python-%%BOOST_SHARED_LIB_VER%%/*.cmake files

Without these configuration files boost-python library cannot be properly found via cmake FindLibrary() interface which is need, for example, for recent net/ceph14 and upcoming ceph15 (porting in progress) with libcephffs and fully functional web dashboard

This quick'n'dirty patch install missed .cmake files and did the trick for overlapping same configs -- install overlapped files only for default python flavor
Comment 1 Automation User 2020-04-27 05:37:51 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/140052273
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-04-27 17:09:06 UTC
A commit references this bug:

Author: fluffy
Date: Mon Apr 27 17:08:37 UTC 2020
New revision: 533156
URL: https://svnweb.freebsd.org/changeset/ports/533156

Log:
  devel/boost-python-libs: allow to install .cmake configs
   for boost_python and boost_numpy libraries
   in same way as it always doing for boot-libs package

  Common for all flavors .cmake files will be installed only with default python version.
  For all non-default flavors package will provide only versioned parts.

  PR:		245560
  Submitted by:	fluffy
  Reviewed by:	lwhsu
  Approved by:	office (lwhsu)

Changes:
  head/devel/boost-python-libs/Makefile
  head/devel/boost-python-libs/pkg-plist
Comment 3 Dima Panov freebsd_committer freebsd_triage 2020-04-27 17:30:44 UTC
Committed!

No MFH required